File tree Expand file tree Collapse file tree 3 files changed +101
-120
lines changed Expand file tree Collapse file tree 3 files changed +101
-120
lines changed Original file line number Diff line number Diff line change 11/**
2- * @typedef {import('unist').Node } Node
2+ * @typedef {import('nlcst').Root } Root
3+ * @typedef {import('nlcst').Content } Content
4+ * @typedef {Root|Content } Node
35 *
46 * @typedef {Object } NormalizeOptions
57 * @property {boolean } [allowDashes=false]
911import { toString } from 'nlcst-to-string'
1012
1113/**
12- * @param {string|Node|Array.<Node > } node
14+ * @param {string|Node|Array.<Content > } node
1315 * @param {NormalizeOptions } [options={}]
1416 */
1517export function normalize ( node , options ) {
Original file line number Diff line number Diff line change 3030 " index.js"
3131 ],
3232 "dependencies" : {
33- "@types/unist " : " ^2 .0.0" ,
33+ "@types/nlcst " : " ^1 .0.0" ,
3434 "nlcst-to-string" : " ^3.0.0"
3535 },
3636 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments