-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript Error: Movement is not part of state #501
Comments
can't reproduce https://codesandbox.io/s/issue-501-35zbto?file=/src/App.tsx |
Simillar issue here. And when passed to animated.mesh:
|
I won't reopen without a sandbox. |
@cuppachino seems like TS 4.8 does introduce this bug. I'm not sure why tbh. |
Here's a minimal repro on TS Playground. It seems to be linked to the |
Ok after some investigation, this is because of the simplification of the NonNullable mapped type. // Native NonNullable Utility Type
// definition on 4.7 and lower
type NonNullable<T> = T extends null | undefined ? never : T
// definition from 4.8
type NonNullable<T> = T & {} Fix is incoming (at least I hope). |
Should be now fixed in 10.2.19. |
Information:
Bug
I am getting an error complaining about state's movement. I've tried removing my node_modules and upgrading the package, but it still shows up.
movement
is still part ofstate
on my console.log.On hover, it says
Screenshots
The text was updated successfully, but these errors were encountered: