3 ms·
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
by kvakkefly 7y ago
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:)
- joeberon 7y agoI thought it came with bundled typings now? I didn't have to use @types/three it just came with the type definitions
- delhanty 7y agoThat's what I thought - @types/three *.d.ts got imported via a script in this PR: https://github.com/mrdoob/three.js/pull/15597 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.
- kvakkefly 7y agoVery cool!