Skip to content

Commit

Permalink
Use more specific types for event proxy handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixarntz committed Jan 29, 2025
1 parent 2dd6eab commit 682ee6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/interactivity/src/directives.tsx
Original file line number Diff line number Diff line change
@@ -67,7 +67,7 @@ function deepClone< T >( source: T ): T {
*/
function wrapEventAsync( event: Event ) {
const handler = {
get( target: any, prop: any, receiver: any ) {
get( target: Event, prop: string | symbol, receiver: any ) {
const value = target[ prop ];
switch ( prop ) {
case 'currentTarget':

0 comments on commit 682ee6f

Please sign in to comment.