From fef568b89db1517481f76b0acfcd6796da693d20 Mon Sep 17 00:00:00 2001 From: marv Date: Mon, 18 Dec 2023 01:57:14 -0800 Subject: Fix Non JP Scanning Option for Kanji Dictionaries (#372) * Fix non JP scanning option for kanji dictionaries * Fix trailing comma * Add removeNonJapaneseCharacters to test inputs --- types/ext/translation.d.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'types/ext') diff --git a/types/ext/translation.d.ts b/types/ext/translation.d.ts index 3c41c9f3..3adfc673 100644 --- a/types/ext/translation.d.ts +++ b/types/ext/translation.d.ts @@ -29,6 +29,10 @@ export type FindKanjiOptions = { * The key is the dictionary name. */ enabledDictionaryMap: Map; + /** + * Whether or not non-Japanese characters should be searched. + */ + removeNonJapaneseCharacters: boolean; }; /** -- cgit v1.2.3