Skip to content

Commit 37ede69

Browse files
committed
Update @types/nlcst, utilities
1 parent bc8f9c2 commit 37ede69

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
* @typedef {import('./lib/index.js').Options} Options
33
* @typedef {import('./lib/index.js').Options} NormalizeOptions
44
* Deprecated form of `Options`.
5+
*
6+
* To do: remove.
57
*/
68

79
export {normalize} from './lib/index.js'

lib/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/**
2-
* @typedef {import('nlcst').Root} Root
3-
* @typedef {import('nlcst').Content} Content
4-
* @typedef {Root|Content} Node
2+
* @typedef {import('nlcst').Nodes} Nodes
53
*
64
* @typedef Options
75
* Configuration.
@@ -23,7 +21,7 @@ import {toString} from 'nlcst-to-string'
2321
* Always normalizes smart apostrophes (`’`) to straight apostrophes (`'`) and
2422
* lowercases alphabetical characters (`[A-Z]`).
2523
*
26-
* @param {string | Node | Array<Content>} value
24+
* @param {Array<Nodes> | Nodes | string} value
2725
* Word.
2826
* @param {Options | null | undefined} [options]
2927
* Configuration.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"index.js"
3232
],
3333
"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"
3636
},
3737
"devDependencies": {
3838
"@types/node": "^20.0.0",

0 commit comments

Comments
 (0)