mirror of
https://github.com/konvajs/konva.git
synced 2025-11-24 08:46:44 +08:00
Merge branch 'iceafish-patch-6'
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user