Files
DefinitelyTyped/types/browser-lang/index.d.ts
InJaEE 99fc319504 🤖 Merge PR #53738 browser-lang v0.1 by @InJaEE
* type browser-lang

* add Comment

* update tsconfig

* edit tsconfig

* update tsconfig

* change test name

* update tsconfig

* update tsconfig

* solve dtslint

* fix version

* version
2021-06-10 16:23:15 -07:00

14 lines
391 B
TypeScript

// Type definitions for browser-lang 0.1
// Project: https://github.com/InJaEE/DefinitelyTyped
// Definitions by: InJaEE <https://github.com/InJaEE>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export interface BrowserOption {
languages: string[];
fallback: string;
}
declare function browserLang(option?: BrowserOption): string;
export default browserLang;