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
commit 04c921c13c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {