diff --git a/typescript/base/pane.ts b/typescript/base/pane.ts index 1d8acd8bf..75c3fc9f0 100644 --- a/typescript/base/pane.ts +++ b/typescript/base/pane.ts @@ -8,5 +8,5 @@ export interface _Pane extends _Widget { } export interface _PaneStatic { - EVENT_LOADED: "EVENT_LOADED"; -} \ No newline at end of file + EVENT_LOADED: string; +} diff --git a/typescript/base/single/button/button.basic.ts b/typescript/base/single/button/button.basic.ts index 294ed0b0e..acdb143d2 100644 --- a/typescript/base/single/button/button.basic.ts +++ b/typescript/base/single/button/button.basic.ts @@ -31,3 +31,7 @@ export interface _BasicButton extends _Single { isDisableSelected(): boolean; } + +export interface _BasicButtonStatic { + EVENT_CHANGE: string; +} diff --git a/typescript/index.ts b/typescript/index.ts index 5e6609983..61146c7cb 100644 --- a/typescript/index.ts +++ b/typescript/index.ts @@ -6,7 +6,7 @@ import { _func } from "./core/func"; import { _Widget, _WidgetStatic } from "./core/widget"; import { _Single } from "./base/single/single"; import { _base } from "./core/base"; -import { _BasicButton } from "./base/single/button/button.basic"; +import { _BasicButton, _BasicButtonStatic } from "./base/single/button/button.basic"; import { _Trigger } from "./base/single/trigger/trigger"; import { _Action, _ActionFactory } from "./core/action/action"; import { _ShowAction } from "./core/action/action.show"; @@ -26,7 +26,7 @@ export interface BI extends _func, _i18n, _base { OB: ClassConstructor<_OB>; Widget: ClassConstructor<_Widget> & _WidgetStatic; Single: ClassConstructor<_Single>; - BasicButton: ClassConstructor<_BasicButton>; + BasicButton: ClassConstructor<_BasicButton> & _BasicButtonStatic; Trigger: ClassConstructor<_Trigger>; Action: ClassConstructor<_Action>; ActionFactory: ClassConstructor<_ActionFactory>;