aboutsummaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
authorJames Maa <jmaa@berkeley.edu>2024-05-23 15:23:10 -0700
committerGitHub <noreply@github.com>2024-05-23 22:23:10 +0000
commitd6aa6737821f5db61e932714322f2401f86b5200 (patch)
treea8d95dab4c7f6ebe1140bb894a919bc666761ab6 /types
parentbbb19669c27a4216ae11937650da173165e72978 (diff)
Basic Spanish Transforms (#908)
* Spanish transforms * Add more spanish transforms * Address comments * Fix types * Undo prefix change
Diffstat (limited to 'types')
-rw-r--r--types/ext/language-transformer-internal.d.ts2
-rw-r--r--types/ext/language-transformer.d.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/types/ext/language-transformer-internal.d.ts b/types/ext/language-transformer-internal.d.ts
index 9ae412d3..a2b18b35 100644
--- a/types/ext/language-transformer-internal.d.ts
+++ b/types/ext/language-transformer-internal.d.ts
@@ -22,7 +22,7 @@ export type Transform = {
};
export type Rule = {
- type: 'suffix' | 'prefix' | 'other';
+ type: 'suffix' | 'prefix' | 'wholeWord' | 'other';
isInflected: RegExp;
deinflect: (inflectedWord: string) => string;
conditionsIn: number;
diff --git a/types/ext/language-transformer.d.ts b/types/ext/language-transformer.d.ts
index 95da602d..02457523 100644
--- a/types/ext/language-transformer.d.ts
+++ b/types/ext/language-transformer.d.ts
@@ -55,7 +55,7 @@ export type TransformI18n = {
};
export type Rule = {
- type: 'suffix' | 'prefix' | 'other';
+ type: 'suffix' | 'prefix' | 'wholeWord' | 'other';
isInflected: RegExp;
deinflect: (inflectedWord: string) => string;
conditionsIn: string[];