forked from fanruan/fineui
iapyang
3 years ago
1 changed files with 2 additions and 2 deletions
@ -1,5 +1,5 @@ |
|||||||
export type _EventListener = { |
export type _EventListener = { |
||||||
listen: (target: EventTarget, eventType: string, callback: Function) => void |
listen: (target: EventTarget, eventType: string, callback: Function) => { remove: () => void } |
||||||
capture: (target: EventTarget, eventType: string, callback: Function) => void |
capture: (target: EventTarget, eventType: string, callback: Function) => { remove: () => void } |
||||||
registerDefault: () => void |
registerDefault: () => void |
||||||
} |
} |
Loading…
Reference in new issue