@types/localized-countries
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/localized-countries

Weekly Downloads

818

Version

2.0.3

License

MIT

Unpacked Size

3.51 kB

Total Files

5

Last publish

Collaborators

  • types