diff --git a/typescript/core/ob.ts b/typescript/core/ob.ts index 5279babe7c..16ce71024d 100644 --- a/typescript/core/ob.ts +++ b/typescript/core/ob.ts @@ -1,7 +1,7 @@ export interface _OB { props: Props | ((config: T) => Props & T); - options: Props; + options: this["props"]; events?: { [eventName: string]: Function[]; diff --git a/typescript/core/widget.ts b/typescript/core/widget.ts index 29292a632a..626ea58378 100644 --- a/typescript/core/widget.ts +++ b/typescript/core/widget.ts @@ -57,9 +57,7 @@ export interface _Widget extends _OB { */ _renderEngine: RenderEngine; - _store(): any; - - model: any; + _store(): void; // 生命周期函数 /**