-
-
Couldn't load subscription status.
- Fork 10.7k
Closed
Labels
Description
What version of React Router are you using?
6.9.0
Steps to Reproduce
const { state } = useLocation() throws ts unsafe assignment error.
Expected Behavior
The state type defined in the Location should be unknown.
Actual Behavior
The state type defined in Location is any
https://github.com/remix-run/react-router/blob/main/packages/router/history.ts#L60
