aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Locale
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-01-21 01:58:30 -0800
committerFuwn <[email protected]>2024-01-21 01:58:30 -0800
commit1fb5c8c5b6008e5f9cb87e8ef01cef322d7c304f (patch)
tree38765d3d617e2571d876e9d32fb33b0b6bf774ae /src/lib/Locale
parentfeat(locale): finish date & time category localisation (diff)
downloaddue.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.ts2
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;