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

0.0.3 • Public • Published

Installation

npm install --save @types/langmap

Summary

This package contains type definitions for langmap (https://github.com/mozilla/language-mapping-list).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/langmap.

index.d.ts

declare const langmap: langmap.LanguageMappingList;

declare namespace langmap {
    interface Language {
        englishName: string;
        nativeName: string;
    }

    interface LanguageMappingList {
        [language: string]: Language;
    }
}

export = langmap;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:38 GMT
  • Dependencies: none

Credits

These definitions were written by Gábor Balogh, and Remco Haszing.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/langmap

Weekly Downloads

1,925

Version

0.0.3

License

MIT

Unpacked Size

3.28 kB

Total Files

5

Last publish

Collaborators

  • types