Skip to content

Commit

Permalink
cool
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusmarminge committed Jan 4, 2025
1 parent c0796cf commit 931fe23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue/src/utils/useEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ export function useEvent<TCallback extends AnyFunction>(callback: TCallback) {
// noop
});

return callbackRef.value;
return callbackRef.value as TCallback;
}

0 comments on commit 931fe23

Please sign in to comment.