Sanity Library Reference Docs
    Preparing search index...

    Type Alias StaticLocaleResourceBundle

    StaticLocaleResourceBundle: Omit<ImplicitLocaleResourceBundle, "resources"> & {
        locale?: string;
        resources: LocaleResourceRecord;
    }

    A locale resource bundle where the resources are static, eg not lazy loaded.

    Type declaration

    • Optionallocale?: string

      The locale ID the resources belong to, eg en-US, nb-NO, th-TH

    • resources: LocaleResourceRecord

      An object of locale resources.