diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2023-12-15 20:31:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-16 01:31:48 +0000 |
commit | c312e7a55114b913afcd85d92f2bf1006b8af246 (patch) | |
tree | 431428468ae5e2f643ee0036b6504fba4757c7df /ext/js/language/text-scanner.js | |
parent | 730b34c0bbe394fd62afb20b32152139a65b0b60 (diff) |
Fix usage of any (*) type in DocumentUtil (#361)
Diffstat (limited to 'ext/js/language/text-scanner.js')
-rw-r--r-- | ext/js/language/text-scanner.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/js/language/text-scanner.js b/ext/js/language/text-scanner.js index d1b033e6..3de16f54 100644 --- a/ext/js/language/text-scanner.js +++ b/ext/js/language/text-scanner.js @@ -102,11 +102,11 @@ export class TextScanner extends EventDispatcher { this._sentenceScanExtent = 0; /** @type {boolean} */ this._sentenceTerminateAtNewlines = true; - /** @type {Map<string, [includeCharacterAtStart: boolean, includeCharacterAtEnd: boolean]>} */ + /** @type {import('text-scanner').SentenceTerminatorMap} */ this._sentenceTerminatorMap = new Map(); - /** @type {Map<string, [character: string, includeCharacterAtStart: boolean]>} */ + /** @type {import('text-scanner').SentenceForwardQuoteMap} */ this._sentenceForwardQuoteMap = new Map(); - /** @type {Map<string, [character: string, includeCharacterAtEnd: boolean]>} */ + /** @type {import('text-scanner').SentenceBackwardQuoteMap} */ this._sentenceBackwardQuoteMap = new Map(); /** @type {import('text-scanner').InputConfig[]} */ this._inputs = []; |