aboutsummaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
Diffstat (limited to 'types')
-rw-r--r--types/ext/deinflector.d.ts14
1 files changed, 8 insertions, 6 deletions
diff --git a/types/ext/deinflector.d.ts b/types/ext/deinflector.d.ts
index 5defbf79..18d0f04a 100644
--- a/types/ext/deinflector.d.ts
+++ b/types/ext/deinflector.d.ts
@@ -20,12 +20,14 @@ import type * as TranslationInternal from './translation-internal';
export type ReasonTypeRaw = 'v1' | 'v1d' | 'v1p' | 'v5' | 'vs' | 'vk' | 'vz' | 'adj-i' | 'iru';
export type ReasonsRaw = {
- [reason: string]: {
- kanaIn: string;
- kanaOut: string;
- rulesIn: ReasonTypeRaw[];
- rulesOut: ReasonTypeRaw[];
- }[];
+ [reason: string]: ReasonRaw[];
+};
+
+export type ReasonRaw = {
+ kanaIn: string;
+ kanaOut: string;
+ rulesIn: ReasonTypeRaw[];
+ rulesOut: ReasonTypeRaw[];
};
export type ReasonVariant = [