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.