aboutsummaryrefslogtreecommitdiff
path: root/ext/js/language
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-12-15 20:31:48 -0500
committerGitHub <noreply@github.com>2023-12-16 01:31:48 +0000
commitc312e7a55114b913afcd85d92f2bf1006b8af246 (patch)
tree431428468ae5e2f643ee0036b6504fba4757c7df /ext/js/language
parent730b34c0bbe394fd62afb20b32152139a65b0b60 (diff)
Fix usage of any (*) type in DocumentUtil (#361)
Diffstat (limited to 'ext/js/language')
-rw-r--r--ext/js/language/text-scanner.js6
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 = [];