mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-01-30 17:15:16 +01:00
refs #850 Add define types for language in constants
This commit is contained in:
parent
636172959d
commit
7782fd8db9
17
src/constants/language/index.d.ts
vendored
Normal file
17
src/constants/language/index.d.ts
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
export type LanguageType = {
|
||||
name: string
|
||||
key: string
|
||||
}
|
||||
|
||||
export type LanguageList = {
|
||||
de: LanguageType,
|
||||
en: LanguageType,
|
||||
fr: LanguageType,
|
||||
ja: LanguageType,
|
||||
ko: LanguageType,
|
||||
pl: LanguageType
|
||||
}
|
||||
|
||||
declare var l: LanguageList
|
||||
|
||||
export default l
|
Loading…
x
Reference in New Issue
Block a user