From d801958bcc130e93677a1efe2c0c2c6dc420b700 Mon Sep 17 00:00:00 2001 From: Ali Mihandoost Date: Thu, 1 Dec 2022 12:39:48 +0330 Subject: [PATCH] fix(i18n): setLocal type --- packages/core/i18n/src/i18n.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/i18n/src/i18n.ts b/packages/core/i18n/src/i18n.ts index 34af02e4c..8732c98b5 100644 --- a/packages/core/i18n/src/i18n.ts +++ b/packages/core/i18n/src/i18n.ts @@ -45,7 +45,7 @@ export const l10n: { /** * Dispatch `locale-change` signal and initial the process. */ - setLocal: (locale: Locale) => void; + setLocal: (locale?: Locale) => void; localize: typeof localize;