0.1.6 • Published 1 year ago
@types/fluent-langneg v0.1.6
Installation
npm install --save @types/fluent-langneg
Summary
This package contains type definitions for fluent-langneg (http://projectfluent.io).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fluent-langneg.
index.d.ts
// Type definitions for fluent-langneg 0.1
// Project: http://projectfluent.io, https://projectfluent.org
// Definitions by: Huy Nguyen <https://github.com/huy-nguyen>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export interface LanguageNegotiationOptions {
strategy?: 'filtering' | 'matching' | 'lookup' | undefined;
defaultLocale?: string | undefined;
}
export function negotiateLanguages(requestedLocales: ReadonlyArray<string>, availableLocales: ReadonlyArray<string>, options?: LanguageNegotiationOptions): string[];
Additional Details
- Last updated: Thu, 08 Jul 2021 12:01:43 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Huy Nguyen.