Skip to content

Commit

Permalink
Merge pull request #749 from Drache93/hotfix/687/fixDebugTypings
Browse files Browse the repository at this point in the history
Fix .out('debug') return value
  • Loading branch information
spencermountain authored Apr 28, 2020
2 parents db8bdba + b613621 commit b85d554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ declare module nlp {
out(format: 'array'): string[]
out(format: 'tags' | 'terms'): Array<{ normal: string; text: string; tags: string[] }>
out(format: 'json'): Array<{ normal: string; text: string; tags: () => void }>[]
out(format: 'debug'): Text
out(format: 'debug'): ExtendedDocument<Ext, W, Ph>
out(format: 'topk'): Array<{ normal: string; count: number; percent: number }>
/** pretty-print the current document and its tags */
debug(): ExtendedDocument<Ext, W, Ph>
Expand Down

0 comments on commit b85d554

Please sign in to comment.