@metreeca/qest - v0.10.0
    Preparing search index...

    Type Alias Dictionary

    Dictionary:
        | { readonly [tag: string]: string }
        | { readonly [tag: string]: readonly string[] }

    Localised text map.

    Holds the localised forms of a property value under the language tags they are written in. The umbrella union admits two forms with disjoint value shapes:

    • a single string value per tag, or
    • an array of string values per tag
    Note

    • A dictionary is conceptually equivalent to an array of language-tagged strings, which idiomatic JSON doesn't directly support
    • The @none key for non-localised values is not supported; use the und tag for language-neutral values
    Note

    An empty dictionary ({}) carries no localised values and must be ignored by processors as if the owning field were omitted from the enclosing resource.