Skip to content

chore: upgrade to React 18 and TypeScript 5.7#274

Open
Shamsul-Raza-Assetmark wants to merge 1 commit intodevexperts:masterfrom
Shamsul-Raza-Assetmark:react18_upgrade
Open

chore: upgrade to React 18 and TypeScript 5.7#274
Shamsul-Raza-Assetmark wants to merge 1 commit intodevexperts:masterfrom
Shamsul-Raza-Assetmark:react18_upgrade

Conversation

@Shamsul-Raza-Assetmark
Copy link

upgrade to React 18 and TypeScript 5.7

onClick?: EventHandler<MouseEvent<HTMLButtonElement>>;
onTouchCancel?: EventHandler<TouchEvent<HTMLButtonElement>>;
onTouchEnd?: EventHandler<TouchEvent<HTMLButtonElement>>;
onTouchEnd?: EventHandler<MouseEvent<HTMLButtonElement>>;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

onTouchEnd becoming MouseEvent is not expected, and it seems your types are being inferred from the wrong event system.

Copy link

@avinash-ghawali-assetmark avinash-ghawali-assetmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants