@types/fluent-langneg
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/fluent-langneg

Weekly Downloads

2,624

Version

0.1.6

License

MIT

Unpacked Size

3.21 kB

Total Files

5

Last publish

Collaborators

  • types