TeaSpeak-Client/imports/shared-app/i18n/CountryFlag.d.ts
WolverinDEV 48b53e9de5 Updates
2021-05-01 23:38:36 +02:00

15 lines
480 B
TypeScript

import "svg-sprites/country-flags";
import { CountryFlag } from "svg-sprites/country-flags";
interface CountryInfo {
name: string;
alpha_2: string;
alpha_3: string;
un_code: number;
icon: string;
flagMissingWarned?: boolean;
}
export declare function getKnownCountries(): CountryInfo[];
export declare function getCountryName(alphaCode: string, fallback?: string): string;
export declare function getCountryFlag(alphaCode: string): CountryFlag;
export {};