Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I sort of agree, but there are some function signatures that don’t match what’s in the code using @types/three, and mrdoob does not want to maintain this. This gives a few @ts-ignore, but that’s not a big problem:)


I thought it came with bundled typings now? I didn't have to use @types/three it just came with the type definitions


That's what I thought - @types/three *.d.ts got imported via a script in this PR:

https://github.com/mrdoob/three.js/pull/15597

There's some discussion in there, but the way I read the conclusion was they were going to be bundle the typings going forward.


Very cool!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: