Browse Source

无JIRA任务 声明补充

es6
windy 4 years ago
parent
commit
4495c80cd0
  1. 8
      typescript/core/widget.ts

8
typescript/core/widget.ts

@ -40,8 +40,8 @@ export interface _Widget extends _OB {
* dom的类jQuery对象 * dom的类jQuery对象
*/ */
element: { element: {
width(): number; width(width?: number): number;
height(): number; height(height?: number): number;
[key: string]: any; [key: string]: any;
}; };
@ -79,7 +79,7 @@ export interface _Widget extends _OB {
* *
*/ */
beforeInit?(cb: Function): void; beforeInit?(cb: Function): void;
/** /**
* *
*/ */
@ -479,7 +479,7 @@ export declare class Widget extends OB {
* *
*/ */
beforeInit?(cb: Function): void; beforeInit?(cb: Function): void;
/** /**
* *
*/ */

Loading…
Cancel
Save