aboutsummaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
authorStefanVukovic99 <stefanvukovic44@gmail.com>2024-05-22 20:52:43 +0200
committerGitHub <noreply@github.com>2024-05-22 18:52:43 +0000
commit125cde3d98c18b08e71e075b4a9776fc7bd4b4a0 (patch)
tree1deb93d435442964a93af7442d147c89be8bc237 /types
parent590b35fb19e031e37dee340d09e0802fcd3a97a1 (diff)
improve preprocessing performance (#973)
* mvp * cleanup * cleanup types * descriptive variable * type
Diffstat (limited to 'types')
-rw-r--r--types/ext/translation-internal.d.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/types/ext/translation-internal.d.ts b/types/ext/translation-internal.d.ts
index 26b043b4..3360ac06 100644
--- a/types/ext/translation-internal.d.ts
+++ b/types/ext/translation-internal.d.ts
@@ -49,18 +49,12 @@ export type DatabaseDeinflection = {
databaseEntries: DictionaryDatabase.TermEntry[];
};
-export type TextProcessorOptionsSpace = Map<string, Language.TextProcessorOptions<unknown>>;
-
export type TextProcessorMap = Map<
string,
{
textPreprocessors: Language.TextProcessorWithId<unknown>[];
- preprocessorOptionsSpace: TextProcessorOptionsSpace;
textPostprocessors: Language.TextProcessorWithId<unknown>[];
- postprocessorOptionsSpace: TextProcessorOptionsSpace;
}
>;
-export type TextProcessorVariant = Map<string, unknown>;
-
export type TextCache = Map<string, Map<string, Map<unknown, string>>>;