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