Browse Source

chore: 修改引用

es6
iapyang 3 years ago
parent
commit
03bc4cfba1
  1. 4
      typescript/core/platform/web/eventListener.ts

4
typescript/core/platform/web/eventListener.ts

@ -1,5 +1,5 @@
export type _EventListener = {
listen: (target: EventTarget, eventType: string, callback: Function) => void
capture: (target: EventTarget, eventType: string, callback: Function) => void
listen: (target: EventTarget, eventType: string, callback: Function) => { remove: () => void }
capture: (target: EventTarget, eventType: string, callback: Function) => { remove: () => void }
registerDefault: () => void
}
Loading…
Cancel
Save