]> git.r.bdr.sh - rbdr/forum/blame_incremental - src/lib/data/vendor.d.ts
Add svelte check
[rbdr/forum] / src / lib / data / vendor.d.ts
... / ...
CommitLineData
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}