File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import type View from './view/one.d.ts'
55declare function nlp ( text : string , lexicon ?: Lexicon ) : View
66
77// Constructor
8- declare module nlp {
8+ declare namespace nlp {
99 /** interpret text without tagging */
1010 export function tokenize ( text : string , lexicon ?: Lexicon ) : View
1111 /** scan through text with minimal analysis */
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import type View from './view/three.d.ts'
55declare function nlp < PluginTypes = { } > ( text : string , lexicon ?: Lexicon ) : View & PluginTypes
66
77// Constructor
8- declare module nlp {
8+ declare namespace nlp {
99 /** interpret text without tagging */
1010 export function tokenize ( text : string , lexicon ?: Lexicon ) : View
1111 /** scan through text with minimal analysis */
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import type View from './view/two.d.ts'
55declare function nlp ( text : string , lexicon ?: Lexicon ) : View
66
77// Constructor
8- declare module nlp {
8+ declare namespace nlp {
99 /** interpret text without tagging */
1010 export function tokenize ( text : string , lexicon ?: Lexicon ) : View
1111 /** scan through text with minimal analysis */
You can’t perform that action at this time.
0 commit comments