diff options
| author | Fuwn <[email protected]> | 2024-01-21 01:58:30 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-21 01:58:30 -0800 |
| commit | 1fb5c8c5b6008e5f9cb87e8ef01cef322d7c304f (patch) | |
| tree | 38765d3d617e2571d876e9d32fb33b0b6bf774ae /src/lib/Locale | |
| parent | feat(locale): finish date & time category localisation (diff) | |
| download | due.moe-1fb5c8c5b6008e5f9cb87e8ef01cef322d7c304f.tar.xz due.moe-1fb5c8c5b6008e5f9cb87e8ef01cef322d7c304f.zip | |
feat(locale): typed locale getter
Diffstat (limited to 'src/lib/Locale')
| -rw-r--r-- | src/lib/Locale/layout.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Locale/layout.ts b/src/lib/Locale/layout.ts index 05e36daf..59862632 100644 --- a/src/lib/Locale/layout.ts +++ b/src/lib/Locale/layout.ts @@ -1,4 +1,4 @@ -type LocaleValue = string | LocaleValue[]; // | { [key: string]: LocaleValue }; +type LocaleValue = string; // | LocaleValue[] | { [key: string]: LocaleValue }; export interface LocaleDictionary { [key: string]: LocaleDictionary | string | Array<string | LocaleDictionary> | null; |