npm.io
0.0.3 • Published 2 years ago

@types/langmap

Licence
MIT
Version
0.0.3
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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 0938 GMT
  • Dependencies: none

Credits

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