aboutsummaryrefslogtreecommitdiff
path: root/types/ext
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 /types/ext
parent730b34c0bbe394fd62afb20b32152139a65b0b60 (diff)
Fix usage of any (*) type in DocumentUtil (#361)
Diffstat (limited to 'types/ext')
-rw-r--r--types/ext/text-scanner.d.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/types/ext/text-scanner.d.ts b/types/ext/text-scanner.d.ts
index 4ec7f204..5b806dab 100644
--- a/types/ext/text-scanner.d.ts
+++ b/types/ext/text-scanner.d.ts
@@ -184,3 +184,9 @@ export type PointerEventType = (
'click' |
'script'
);
+
+export type SentenceTerminatorMap = Map<string, [includeCharacterAtStart: boolean, includeCharacterAtEnd: boolean]>;
+
+export type SentenceForwardQuoteMap = Map<string, [character: string, includeCharacterAtStart: boolean]>;
+
+export type SentenceBackwardQuoteMap = Map<string, [character: string, includeCharacterAtEnd: boolean]>;