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
We just published version v0.0.0-nightly-5020fa4-20221029 which involves this issue. If you'd like to take it for a test run please try it out and let us know what you think!
Which Remix packages are impacted?
@remix-run/react
What version of Remix are you using?
1.1.1
What version of Node are you using? Minimum supported version is 14.
16.13.1
Steps to Reproduce
Use
useBeforeUnload
like so:Expected Behavior
There is no type error
Actual Behavior
Error:
Argument of type '(e: any) => void' is not assignable to parameter of type '() => any'.ts(2345)
The text was updated successfully, but these errors were encountered: