elk/iso-639-1.d.ts

8 lines
245 B
TypeScript

declare module 'virtual:iso-639-1' {
export interface AvailableLanguages {
code: string
nativeName: string
}
export const supportedTranslationLanguages: AvailableLanguages[]
export function getDisplayName(code: string): string
}