Skip to content

Conversation

@fxnm
Copy link

@fxnm fxnm commented Sep 28, 2025

fixes a missing import bug introduced in version v12.23.14
Bug:

node_modules/.pnpm/framer-motion@12.23.22_reac_02d6d95fa7f125f1a7aa76b4b85bfa61/node_modules/framer-motion/dist/types/index.d.ts:494:226 - error TS2503: Cannot find namespace 'JSX'.

494 declare function ReorderGroupComponent<V, TagName extends ReorderElementTag = DefaultGroupElement>({ children, as, axis, onReorder, values, ...props }: ReorderGroupProps<V, TagName>, externalRef?: React$1.ForwardedRef<any>): JSX.Element;
                                                                                                                                                                                                                                     ~~~

node_modules/.pnpm/framer-motion@12.23.22_reac_02d6d95fa7f125f1a7aa76b4b85bfa61/node_modules/framer-motion/dist/types/index.d.ts:521:228 - error TS2503: Cannot find namespace 'JSX'.

521 declare function ReorderItemComponent<V, TagName extends ReorderElementTag = DefaultItemElement>({ children, style, value, as, onDrag, layout, ...props }: ReorderItemProps<V, TagName>, externalRef?: React$1.ForwardedRef<any>): JSX.Element;
                                                                                                                                                                                                                                       ~~~


Found 2 errors in the same file, starting at: node_modules/.pnpm/framer-motion@12.23.22_reac_02d6d95fa7f125f1a7aa76b4b85bfa61/node_modules/framer-motion/dist/types/index.d.ts:494

@fxnm
Copy link
Author

fxnm commented Oct 10, 2025

@mattgperry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant