Browse Source

Pull request #1679: 无JIRA任务 参数类型补充

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit 'ae86e137f5c3c914c1422ac4083b433557fc8162':
  无JIRA任务 参数类型补充
es6
windy 4 years ago
parent
commit
9c9b2d1e25
  1. 8
      typescript/core/widget.ts

8
typescript/core/widget.ts

@ -42,8 +42,8 @@ export interface _Widget extends _OB {
element: {
width(): number;
height(): number;
width(width: number): _Widget['element'];
height(height: number): _Widget['element'];
width(width: number | string): _Widget['element'];
height(height: number | string): _Widget['element'];
[key: string]: any;
};
@ -444,8 +444,8 @@ export declare class Widget extends OB {
element: {
width(): number;
height(): number;
width(width: number): Widget['element'];
height(height: number): Widget['element'];
width(width: number | string): Widget['element'];
height(height: number | string): Widget['element'];
[key: string]: any;
};

Loading…
Cancel
Save