aboutsummaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
Diffstat (limited to 'types')
-rw-r--r--types/ext/settings.d.ts1
-rw-r--r--types/ext/translation.d.ts4
2 files changed, 5 insertions, 0 deletions
diff --git a/types/ext/settings.d.ts b/types/ext/settings.d.ts
index 25ea46d9..b95691b2 100644
--- a/types/ext/settings.d.ts
+++ b/types/ext/settings.d.ts
@@ -258,6 +258,7 @@ export type DictionaryOptions = {
enabled: boolean;
allowSecondarySearches: boolean;
definitionsCollapsible: DictionaryDefinitionsCollapsible;
+ partsOfSpeechFilter: boolean;
};
export type ParsingOptions = {
diff --git a/types/ext/translation.d.ts b/types/ext/translation.d.ts
index c8938e00..d597c006 100644
--- a/types/ext/translation.d.ts
+++ b/types/ext/translation.d.ts
@@ -173,6 +173,10 @@ export type FindTermDictionary = {
* Whether or not secondary term searches are allowed for this dictionary.
*/
allowSecondarySearches: boolean;
+ /**
+ * Whether this dictionary's part of speech rules should be used to filter results.
+ */
+ partsOfSpeechFilter: boolean;
};
export type TermEnabledDictionaryMap = Map<string, FindTermDictionary>;