]> git.r.bdr.sh - rbdr/forum/blame - src/lib/data/vendor.d.ts
Don't remember what this WIP was about
[rbdr/forum] / src / lib / data / vendor.d.ts
CommitLineData
d197e31b
RBR
1declare 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}