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

0.1.2 • Public • Published

Installation

npm install --save @types/browser-lang

Summary

This package contains type definitions for browser-lang (https://github.com/InJaEE/DefinitelyTyped).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/browser-lang.

index.d.ts

export interface BrowserOption {
    languages: string[];
    fallback: string;
}

declare function browserLang(option?: BrowserOption): string;

export default browserLang;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by InJaEE.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/browser-lang

Weekly Downloads

684

Version

0.1.2

License

MIT

Unpacked Size

2.89 kB

Total Files

5

Last publish

Collaborators

  • types