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
export interface LanguageNegotiationOptions {
strategy?: "filtering" | "matching" | "lookup" | undefined;
defaultLocale?: string | undefined;
}
export function negotiateLanguages(
requestedLocales: readonly string[],
availableLocales: readonly string[],
options?: LanguageNegotiationOptions,
): string[];
Additional Details
- Last updated: Mon, 20 Nov 2023 23:36:24 GMT
- Dependencies: none
Credits
These definitions were written by Huy Nguyen.