diff --git a/konva.d.ts b/konva.d.ts index 85361766..8f7c087f 100644 --- a/konva.d.ts +++ b/konva.d.ts @@ -342,8 +342,8 @@ declare namespace Konva { clipFunc(): (ctx: CanvasRenderingContext2D) => void; clipFunc(ctx: CanvasRenderingContext2D | undefined | null): void; destroyChildren(): void; - find(selector?: string | ((Node) => boolean)): Collection; - findOne(selector: string | ((Node) => boolean)): T; + find(selector?: string | ((node: Node) => boolean)): Collection; + findOne(selector: string | ((node: Node) => boolean)): T; getAllIntersections(pos: Vector2d): Shape[]; hasChildren(): boolean; removeChildren(): void;