File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed
Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 11
2- // eslint-disable-next-line no-unused-vars
3- import { Picker } from 'selderee' ;
4-
52import {
63 // eslint-disable-next-line no-unused-vars
74 StackItem , BlockStackItem ,
@@ -26,7 +23,7 @@ class BlockTextBuilder {
2623 * Creates an instance of BlockTextBuilder.
2724 *
2825 * @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.
3027 * @param { any } [metadata] Optional metadata for HTML document, for use in formatters.
3128 */
3229 constructor ( options , picker , metadata = undefined ) {
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ function compile (options = {}) {
5858 * @param { string } html HTML content to convert.
5959 * @param { any } metadata Optional metadata for HTML document, for use in formatters.
6060 * @param { Options } options HtmlToText options (preprocessed).
61- * @param { Picker<DomNode, TagDefinition> } picker
61+ * @param { import('selderee'). Picker<DomNode, TagDefinition> } picker
6262 * Tag definition picker for DOM nodes processing.
6363 * @param { (dom: DomNode[]) => DomNode[] } findBaseElements
6464 * Function to extract elements from HTML DOM
Original file line number Diff line number Diff line change 22const { nodeResolve } = require ( '@rollup/plugin-node-resolve' ) ;
33
44
5+ /**
6+ * @type {import('rollup').RollupOptions }
7+ */
58module . exports = {
69 input : 'src/html-to-md.js' ,
710 output : [
Original file line number Diff line number Diff line change 22const { nodeResolve } = require ( '@rollup/plugin-node-resolve' ) ;
33
44
5+ /**
6+ * @type {import('rollup').RollupOptions }
7+ */
58module . exports = {
69 input : 'src/html-to-text.js' ,
710 output : [
You can’t perform that action at this time.
0 commit comments