Skip to content

Commit

Permalink
fix(i18n): setLocal type
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD committed Dec 1, 2022
1 parent cf7d1cb commit d801958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/i18n/src/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d801958

Please sign in to comment.