File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2
2
* @typedef {import('./lib/index.js').Options } Options
3
3
* @typedef {import('./lib/index.js').Options } NormalizeOptions
4
4
* Deprecated form of `Options`.
5
+ *
6
+ * To do: remove.
5
7
*/
6
8
7
9
export { normalize } from './lib/index.js'
Original file line number Diff line number Diff line change 1
1
/**
2
- * @typedef {import('nlcst').Root } Root
3
- * @typedef {import('nlcst').Content } Content
4
- * @typedef {Root|Content } Node
2
+ * @typedef {import('nlcst').Nodes } Nodes
5
3
*
6
4
* @typedef Options
7
5
* Configuration.
@@ -23,7 +21,7 @@ import {toString} from 'nlcst-to-string'
23
21
* Always normalizes smart apostrophes (`’`) to straight apostrophes (`'`) and
24
22
* lowercases alphabetical characters (`[A-Z]`).
25
23
*
26
- * @param {string | Node | Array<Content> } value
24
+ * @param {Array<Nodes> | Nodes | string } value
27
25
* Word.
28
26
* @param {Options | null | undefined } [options]
29
27
* Configuration.
Original file line number Diff line number Diff line change 31
31
" index.js"
32
32
],
33
33
"dependencies" : {
34
- "@types/nlcst" : " ^1 .0.0" ,
35
- "nlcst-to-string" : " ^3 .0.0"
34
+ "@types/nlcst" : " ^2 .0.0" ,
35
+ "nlcst-to-string" : " ^4 .0.0"
36
36
},
37
37
"devDependencies" : {
38
38
"@types/node" : " ^20.0.0" ,
You can’t perform that action at this time.
0 commit comments