Class LocalesInternal

A map of locales.

Used internally to store locales, and convert them to JSON.

Hierarchy

Constructors

Accessors

Methods

Constructors

  • Parameters

    • Optionalentries: null | readonly (readonly [Locale | "default", string])[]

    Returns Locales

  • Parameters

    • Optionaliterable: null | Iterable<readonly [Locale | "default", string]>

    Returns Locales

Accessors

  • get default(): string
  • get the default value

    Returns string

Methods

  • Returns Partial<Record<Locale | "default", string>>