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
Hello I usually use typescript and was tired of creating a worthless declaration file for the library so I created types for the entire library. I created a package on npm here: three-nebula-types, and also submitted a PR to definitelyTyped here: Definitely Typed However that PR will probably take a while. So if anyone is looking for types just npm install three-nebula-types and copy to node_modules/@types folder or add "typeRoots" to your .tsconfig. The repo is here: https://github.com/moonraker22/three-nebula-types 🌝
The text was updated successfully, but these errors were encountered:
Yo, a lot of properties are just object :( even argument of setPosition method is object too but its just {x:number,y:number,x:number}
Also most of examples (from official webpage) have typescript errors. So its not possible to use without //@ts-ignore everytime
Hello I usually use typescript and was tired of creating a worthless declaration file for the library so I created types for the entire library. I created a package on npm here: three-nebula-types, and also submitted a PR to definitelyTyped here: Definitely Typed However that PR will probably take a while. So if anyone is looking for types just npm install three-nebula-types and copy to node_modules/@types folder or add "typeRoots" to your .tsconfig. The repo is here: https://github.com/moonraker22/three-nebula-types 🌝
The text was updated successfully, but these errors were encountered: