summaryrefslogtreecommitdiff
path: root/src/types
diff options
context:
space:
mode:
Diffstat (limited to 'src/types')
-rw-r--r--src/types/CommitteeMember.d.ts2
-rw-r--r--src/types/TranslationsDictionary.d.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/types/CommitteeMember.d.ts b/src/types/CommitteeMember.d.ts
index e17bb4c..d9f8ee3 100644
--- a/src/types/CommitteeMember.d.ts
+++ b/src/types/CommitteeMember.d.ts
@@ -1,4 +1,4 @@
-import type CommitteeRole from 'enums/CommitteeRole';
+import type CommitteeRole from '$enums/CommitteeRole';
import type Locale from './Locale';
type CommitteeMember = {
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]>;