diff --git a/packages/frontend/src/scripts/i18n.ts b/packages/frontend/src/scripts/i18n.ts index dd75028b83..10fba193dd 100644 --- a/packages/frontend/src/scripts/i18n.ts +++ b/packages/frontend/src/scripts/i18n.ts @@ -63,10 +63,10 @@ export class I18n { } } - return new Proxy(this.locale, new Handler()); + return new Proxy(this.locale, new Handler()) as Ts; } - return this.locale; + return this.locale as Ts; } // string にしているのは、ドット区切りでのパス指定を許可するため