Merge pull request #414 from IgorBabkin/handlerfunc-target-optional

Make target in HandlerFunc optional
This commit is contained in:
Anton Lavrenov
2018-07-18 14:44:47 +07:00
committed by GitHub

2
konva.d.ts vendored
View File

@@ -6,7 +6,7 @@ declare namespace Konva {
var DD: any;
type HandlerFunc = (
e: { target: Konva.Shape; evt: Event; currentTarget: Konva.Node }
e: { target?: Konva.Shape; evt: Event; currentTarget: Konva.Node }
) => void;
enum KonvaNodeEvent {