You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getting this typescript error when using an onClick handler in a tsx file:
Type '() => void' is not assignable to type 'MouseEvent'.(2322)
runtime-dom.d.ts(1407, 15): The expected type comes from property 'onClick' which is declared here on type 'ElementAttrs'
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
Linux
v16.14.2
3.0.0-rc.11
0.5.4
npm@7.17.0
vite
-
-
-
Reproduction
https://stackblitz.com/edit/github-xemd3s?file=app.tsx
Describe the bug
getting this typescript error when using an onClick handler in a tsx file:
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: