We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2deb954 commit 3593ca7Copy full SHA for 3593ca7
src/emit.ts
@@ -29,11 +29,11 @@ export function emitted<T = unknown>(
29
30
export const attachEmitListener = () => {
31
// use devtools to capture this "emit"
32
- setDevtoolsHook(createDevTools(events), {})
+ setDevtoolsHook(createDevTools(), {})
33
}
34
35
// devtools hook only catches Vue component custom events
36
-function createDevTools(events: Events): any {
+function createDevTools(): any {
37
return {
38
emit(eventType, ...payload) {
39
if (eventType !== DevtoolsHooks.COMPONENT_EMIT) return
0 commit comments