We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, Is it possible to have Typescript definition files for country-flags-svg please.
Thanks
The text was updated successfully, but these errors were encountered:
Yes please, i would like this as well. This would then be more usable in angular 13 +
Sorry, something went wrong.
declare module 'country-flags-svg' { const countries: CountryData[]; const flagUrls: Record<string, string>; function findFlagUrlByCountryName(countryName: string): string; function findFlagUrlByNationality(nationality: string): string; function findFlagUrlByIso2Code(iso2Code: string): string; function findFlagUrlByIso3Code(iso3Code: string): string; interface CountryData { name: string; demonym: string; flag: string; iso2: string; iso3: string; altSpellings: string[]; } }
No branches or pull requests
Hi,
Is it possible to have Typescript definition files for country-flags-svg please.
Thanks
The text was updated successfully, but these errors were encountered: