Make target in HandlerFunc optional

This commit is contained in:
Igor Babkin
2018-07-16 11:43:01 +03:00
parent 87820449ad
commit f67012cea6

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;
type globalCompositeOperationType =