Installation
npm install --save @types/localized-countries
Summary
This package contains type definitions for localized-countries (https://github.com/marcbachmann/localized-countries#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/localized-countries.
index.d.ts
declare function localizedCountries(locale: string | object): localizedCountries.LocalizedCountries;
declare namespace localizedCountries {
interface LocalizedCountries {
get(code: string): string;
array(): Array<{
code: string;
label: string;
}>;
object(): { [code: string]: string };
}
const languages: string[];
}
export = localizedCountries;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:38 GMT
- Dependencies: none
Credits
These definitions were written by Piotr Błażejewicz.