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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I’m using Framer Motion 12.23.12 with React 19 and TypeScript 5.9.2. On macOS, my editor shows type errors for all motion.* components, e.g.,
Property 'animate' does not exist on type 'IntrinsicAttributes & Omit<HTMLMotionProps<"header">, "ref"> & RefAttributes'.
I’ve tried:
Cleaning node_modules and lock files
Reinstalling dependencies
Downgrading TypeScript
Comparing with Windows, where it works fine
It seems the TypeScript types for Motion are not compatible with React 19. This blocks development on macOS.
Can you confirm if React 19 is officially supported for TS users, and if not, is there a plan to update the types?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions