Type alias LoaderFunction<T>

LoaderFunction<T>: ((locale) => Messages<T>)

Type Parameters

  • T extends string

Type declaration

    • (locale): Messages<T>
    • A loader function to return messages.

      Parameters

      • locale: string

        The local set by the framework.

      Returns Messages<T>