0.1.2 • Published 2 years ago

@types/browser-lang v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

// 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;

Additional Details

  • Last updated: Thu, 10 Jun 2021 23:31:25 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by InJaEE.