Hierarchy

  • Scope

Constructors

Properties

args: null | Record<string, FluentVariable>

A dict of developer-provided variables.

bundle: FluentBundle

The bundle for which the given resolution is happening.

errors: null | Error[]

The list of errors collected while resolving.

params: null | Record<string, FluentVariable> = null

A dict of parameters passed to a TermReference.

Methods

  • Parameters

    • ctor: {
          prototype: NumberFormat;
          supportedLocalesOf(locales: string | string[], options?: NumberFormatOptions): string[];
          (locales?: string | string[], options?: NumberFormatOptions): NumberFormat;
          new (locales?: string | string[], options?: NumberFormatOptions): NumberFormat;
      }
        • (locales?: string | string[], options?: NumberFormatOptions): NumberFormat
        • Parameters

          • Optional locales: string | string[]
          • Optional options: NumberFormatOptions

          Returns NumberFormat

        • new (locales?: string | string[], options?: NumberFormatOptions): NumberFormat
        • Parameters

          • Optional locales: string | string[]
          • Optional options: NumberFormatOptions

          Returns NumberFormat

      • Readonly prototype: NumberFormat
      • supportedLocalesOf:function
        • Parameters

          • locales: string | string[]
          • Optional options: NumberFormatOptions

          Returns string[]

    • opts: NumberFormatOptions

    Returns NumberFormat

  • Parameters

    • ctor: {
          prototype: DateTimeFormat;
          supportedLocalesOf(locales: string | string[], options?: DateTimeFormatOptions): string[];
          (locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;
          new (locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;
      }
        • (locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat
        • Parameters

          • Optional locales: string | string[]
          • Optional options: DateTimeFormatOptions

          Returns DateTimeFormat

        • new (locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat
        • Parameters

          • Optional locales: string | string[]
          • Optional options: DateTimeFormatOptions

          Returns DateTimeFormat

      • Readonly prototype: DateTimeFormat
      • supportedLocalesOf:function
        • Parameters

          • locales: string | string[]
          • Optional options: DateTimeFormatOptions

          Returns string[]

    • opts: DateTimeFormatOptions

    Returns DateTimeFormat

  • Parameters

    • ctor: {
          supportedLocalesOf(locales: string | string[], options?: {
              localeMatcher?: "best fit" | "lookup";
          }): string[];
          (locales?: string | string[], options?: PluralRulesOptions): PluralRules;
          new (locales?: string | string[], options?: PluralRulesOptions): PluralRules;
      }
        • (locales?: string | string[], options?: PluralRulesOptions): PluralRules
        • Parameters

          • Optional locales: string | string[]
          • Optional options: PluralRulesOptions

          Returns PluralRules

        • new (locales?: string | string[], options?: PluralRulesOptions): PluralRules
        • Parameters

          • Optional locales: string | string[]
          • Optional options: PluralRulesOptions

          Returns PluralRules

      • supportedLocalesOf:function
        • Parameters

          • locales: string | string[]
          • Optional options: {
                localeMatcher?: "best fit" | "lookup";
            }
            • Optional localeMatcher?: "best fit" | "lookup"

          Returns string[]

    • opts: PluralRulesOptions

    Returns PluralRules