aboutsummaryrefslogtreecommitdiff
path: root/types/ext
diff options
context:
space:
mode:
authormarv <rotrobmin@gmail.com>2023-12-18 01:57:14 -0800
committerGitHub <noreply@github.com>2023-12-18 09:57:14 +0000
commitfef568b89db1517481f76b0acfcd6796da693d20 (patch)
treec6ba042ec7f9b6c8dd39c0fbe1328d8e0bfcc7eb /types/ext
parentd594d49ea81e1b546b6e39b7f85f098d9dc6fc48 (diff)
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
Diffstat (limited to 'types/ext')
-rw-r--r--types/ext/translation.d.ts4
1 files changed, 4 insertions, 0 deletions
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<string, FindKanjiDictionary>;
+ /**
+ * Whether or not non-Japanese characters should be searched.
+ */
+ removeNonJapaneseCharacters: boolean;
};
/**