Function i18nAssertValidResources

  • Assert that language resources are a type match for English (default) resources.

    Parameters

    • enResources: object

      English resources.

    • lng: string

      Language.

    • lngResources: object

      Language resources.

    • Optionalparent: string

      Parent key name (set recursively).

    Returns void