This commit is contained in:
Şahan Hasret
2025-12-14 01:06:11 +03:00
parent af9e3d8c53
commit 7c4828ca84
4 changed files with 57 additions and 73 deletions

View File

@@ -139,4 +139,8 @@ export const tr = {
},
} as const;
export type TranslationKeys = typeof tr;
type RecursiveString<T> = {
[K in keyof T]: T[K] extends object ? RecursiveString<T[K]> : string;
};
export type TranslationKeys = RecursiveString<typeof tr>;