ENGLISH·COURSE API
    Preparing search index...

    Variable

    default

    default: (
        params: GetRequestConfigParams,
    ) => RequestConfig | Promise<RequestConfig>

    Loads the message catalog for the active locale on every Server Component request. Falls back to the default locale when the requested one is not supported (defensive — the middleware should already validate it).

    Type Declaration

      • (params: GetRequestConfigParams): RequestConfig | Promise<RequestConfig>
      • Parameters

        • params: GetRequestConfigParams

        Returns RequestConfig | Promise<RequestConfig>