diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-23 20:05:41 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-23 20:31:20 +0100 |
| commit | 52fa5e27fc37bc156ef722c8258646057a8a826d (patch) | |
| tree | dea6e5e3c78c808360d3fa36d96c89d31f75fc8b /src/types/TranslationsDictionary.d.ts | |
| parent | 8a4964fbd8fe8064ee643f135e17fab640a48ce7 (diff) | |
Displays committee role
Diffstat (limited to 'src/types/TranslationsDictionary.d.ts')
| -rw-r--r-- | src/types/TranslationsDictionary.d.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types/TranslationsDictionary.d.ts b/src/types/TranslationsDictionary.d.ts index d9d7e44..5033ecd 100644 --- a/src/types/TranslationsDictionary.d.ts +++ b/src/types/TranslationsDictionary.d.ts @@ -4,7 +4,7 @@ import type Locale from './Locale'; export type Translation<Params> = (params: { [key in keyof Params]: string }) => string; export type TranslationsDictionary<Raw> = { - [key in keyof Raw]: { + readonly [key in keyof Raw]: { [locale in Locale]?: Translation<Parameters<Raw[key][typeof defaultLocale]>[0]>; } & { [locale in typeof defaultLocale]: Translation<Parameters<Raw[key][typeof defaultLocale]>[0]>; |
