From 13278a5cf67de69678d8c4c5fb97e6eb00c94c11 Mon Sep 17 00:00:00 2001 From: James Maa Date: Thu, 9 May 2024 15:42:35 +0800 Subject: Update eslint unsafe rule (#887) * Enable @typescript-eslint/no-unsafe-assignment * Updates * Add missing import * Updates * Fix types? * Fix tests * Address comments * Move TextProcessorVariant to types * Update types/ext/translation-internal.d.ts Co-authored-by: StefanVukovic99 Signed-off-by: James Maa --------- Signed-off-by: James Maa Co-authored-by: toasted-nutbread Co-authored-by: StefanVukovic99 --- types/ext/translation-internal.d.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'types') diff --git a/types/ext/translation-internal.d.ts b/types/ext/translation-internal.d.ts index 00056562..26b043b4 100644 --- a/types/ext/translation-internal.d.ts +++ b/types/ext/translation-internal.d.ts @@ -60,3 +60,7 @@ export type TextProcessorMap = Map< postprocessorOptionsSpace: TextProcessorOptionsSpace; } >; + +export type TextProcessorVariant = Map; + +export type TextCache = Map>>; -- cgit v1.2.3