]> git.r.bdr.sh - rbdr/forum/blob - src/lib/data/vendor.d.ts
Use tailwind, reference types
[rbdr/forum] / src / lib / data / vendor.d.ts
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 }