|
|
|
@ -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; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|