feat(WEB-36): improve typings

This commit is contained in:
Michael Zetterberg
2024-01-18 10:45:38 +01:00
parent 39b61c7691
commit 363580dac2
8 changed files with 35 additions and 18 deletions

View File

@@ -8,7 +8,3 @@ export const langEnum = {
};
export type Lang = keyof typeof langEnum;
export type LangProps<T = {}> = T & {
lang: Lang
}