mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 06:31:15 +08:00
Merge pull request #414 from IgorBabkin/handlerfunc-target-optional
Make target in HandlerFunc optional
This commit is contained in:
commit
04c921c13c
2
konva.d.ts
vendored
2
konva.d.ts
vendored
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user