mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
Merge branch 'iceafish-patch-6'
This commit is contained in:
commit
57602d305e
@ -688,7 +688,7 @@ export abstract class Node<Config extends NodeConfig = NodeConfig> {
|
||||
*/
|
||||
on<K extends keyof NodeEventMap>(
|
||||
evtStr: K,
|
||||
handler: KonvaEventListener<this, K>
|
||||
handler: KonvaEventListener<this, NodeEventMap[K]>
|
||||
) {
|
||||
if (arguments.length === 3) {
|
||||
return this._delegate.apply(this, arguments);
|
||||
|
Loading…
Reference in New Issue
Block a user