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
I'm using a temporary hack to get around this issue and still be able to build my project:
// tresjs-hack.d.ts// HACK: THIS IS A HACK! REMOVE AFTER TRESJS FIXES TYPESdeclare module "@tresjs/cientos"{exportfunctionuseGLTF(any,any);exportfunctionCameraControls(any);// Necessary to declare any other cientos packages you are importing here}
Currently I just simlpy remove opt out of TS (remove lang="ts") on model components :D,
Should be a quick fix but the team is preparing for 4.0 I guess.
Describe the bug
3.8.0
:3.9.0
:It's still exported in .js file and is usable, but the types missing makes IDE yelling error.
Reproduction
https://www.npmjs.com/package/@tresjs/cientos?activeTab=code
Steps to reproduce
N/A
System Info
Used Package Manager
pnpm
Code of Conduct
The text was updated successfully, but these errors were encountered: