File tree 4 files changed +8
-5
lines changed
4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
1
2
- // eslint-disable-next-line no-unused-vars
3
- import { Picker } from 'selderee' ;
4
-
5
2
import {
6
3
// eslint-disable-next-line no-unused-vars
7
4
StackItem , BlockStackItem ,
@@ -26,7 +23,7 @@ class BlockTextBuilder {
26
23
* Creates an instance of BlockTextBuilder.
27
24
*
28
25
* @param { Options } options HtmlToText options.
29
- * @param { Picker<DomNode, TagDefinition> } picker Selectors decision tree picker.
26
+ * @param { import('selderee'). Picker<DomNode, TagDefinition> } picker Selectors decision tree picker.
30
27
* @param { any } [metadata] Optional metadata for HTML document, for use in formatters.
31
28
*/
32
29
constructor ( options , picker , metadata = undefined ) {
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ function compile (options = {}) {
58
58
* @param { string } html HTML content to convert.
59
59
* @param { any } metadata Optional metadata for HTML document, for use in formatters.
60
60
* @param { Options } options HtmlToText options (preprocessed).
61
- * @param { Picker<DomNode, TagDefinition> } picker
61
+ * @param { import('selderee'). Picker<DomNode, TagDefinition> } picker
62
62
* Tag definition picker for DOM nodes processing.
63
63
* @param { (dom: DomNode[]) => DomNode[] } findBaseElements
64
64
* Function to extract elements from HTML DOM
Original file line number Diff line number Diff line change 2
2
const { nodeResolve } = require ( '@rollup/plugin-node-resolve' ) ;
3
3
4
4
5
+ /**
6
+ * @type {import('rollup').RollupOptions }
7
+ */
5
8
module . exports = {
6
9
input : 'src/html-to-md.js' ,
7
10
output : [
Original file line number Diff line number Diff line change 2
2
const { nodeResolve } = require ( '@rollup/plugin-node-resolve' ) ;
3
3
4
4
5
+ /**
6
+ * @type {import('rollup').RollupOptions }
7
+ */
5
8
module . exports = {
6
9
input : 'src/html-to-text.js' ,
7
10
output : [
You can’t perform that action at this time.
0 commit comments