mirror of
https://github.com/konvajs/konva.git
synced 2025-08-20 07:19:37 +08:00
Fix TypeScript definition: Move "getClientRect()" declaration from Container to Node class.
This commit is contained in:
parent
7e9bbc5f9c
commit
e74a35ff5c
2
resources/konva.d.ts
vendored
2
resources/konva.d.ts
vendored
@ -151,6 +151,7 @@ declare module Konva {
|
||||
// CHECK
|
||||
getCanvas() : Canvas;
|
||||
getClassName() : string;
|
||||
getClientRect(): SizeConfig;
|
||||
getContext() : Context;
|
||||
getDepth() : number;
|
||||
getHeight() : number;
|
||||
@ -272,7 +273,6 @@ declare module Konva {
|
||||
constructor(params?: ContainerConfig);
|
||||
add(child : Node): Container;
|
||||
getChildren(filterfunc?: Function) : Collection;
|
||||
getClientRect(): SizeConfig;
|
||||
clip(): SizeConfig;
|
||||
clip(clip: SizeConfig) : Container;
|
||||
clipHeight(): number;
|
||||
|
Loading…
Reference in New Issue
Block a user