浏览代码

fix: type

Sv443 11 月之前
父节点
当前提交
eca087c7ed
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/interface.ts

+ 1 - 1
src/interface.ts

@@ -37,7 +37,7 @@ export type InterfaceEvents = {
   "bytm:configReady": undefined;
   "bytm:configReady": undefined;
 
 
   /** Emitted whenever the locale is changed */
   /** Emitted whenever the locale is changed */
-  "bytm:setLocale": { locale: TrLocale };
+  "bytm:setLocale": { locale: TrLocale, pluginId?: string };
 
 
   /** Emitted when a dialog was opened - returns the dialog's instance */
   /** Emitted when a dialog was opened - returns the dialog's instance */
   "bytm:dialogOpened": BytmDialog;
   "bytm:dialogOpened": BytmDialog;