]>
Commit | Line | Data |
---|---|---|
1 | declare module 'language-name-map' { | |
2 | export type LanguageNameMap = { | |
3 | [languageCode: string]: LanguageName; | |
4 | }; | |
5 | ||
6 | export type LanguageName = { | |
7 | name: string; | |
8 | native: string; | |
9 | dir: 'rtl' | 'ltr'; | |
10 | }; | |
11 | ||
12 | export function getLangNameFromCode(langCode: string): LanguageName; | |
13 | export function getLangCodeList(): string[]; | |
14 | export const languageNameMap: LanguageNameMap; | |
15 | } |