0.1.6 • Published 6 months ago

@types/fluent-langneg v0.1.6

Weekly downloads
203
License
MIT
Repository
github
Last release
6 months ago

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.

0.1.4

7 months ago

0.1.3

8 months ago

0.1.6

6 months ago

0.1.5

7 months ago

0.1.2

3 years ago

0.1.1

5 years ago

0.1.0

5 years ago