Closed justindhillon closed 6 months ago
I solved the issue by turning props: JSX.IntrinsicElements['group']
into props: any
If we want total typescript support, we should document why this happens and how to solve it.
Do you have any idea for js? I got the same error but I'm not using typescript.
Do you any idea for js? I got the same error but I'm not using typescript.
What does your code look like?
Do you any idea for js? I got the same error but I'm not using typescript.
What does your code look like?
I created a quick demo to solve your issue here: https://github.com/pmndrs/gltfjsx/issues/249#issuecomment-1987747199
I am using nextjs with typescript, gltfjsx, and @react-three/fiber. And I am getting this error "TypeError: objectInfluences is undefined".
Here is what gltfjsx generates:
Here is how I am using it: