summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--frontend/src/@types/api.d.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/frontend/src/@types/api.d.ts b/frontend/src/@types/api.d.ts
index 745abd12c..60cabec75 100644
--- a/frontend/src/@types/api.d.ts
+++ b/frontend/src/@types/api.d.ts
@@ -10,12 +10,14 @@ interface Badge {
interface ApiLanguage {
code2: LanguageCodeType;
name: string;
- hi?: boolean;
- forced?: boolean;
enabled: boolean;
}
-type Language = Omit<ApiLanguage, "enabled">;
+type Language = Omit<ApiLanguage, "enabled"> & {
+ // TODO: Make things unify
+ hi?: boolean;
+ forced?: boolean;
+};
namespace Profile {
interface Item {