How to sync @types/three and why not rewrite threejs with typescript?

threejs is written with javascript, how to maintain its @types in npmjs, manually or automatically, and what’s the consideration of not transferring to typescript for threejs codebase?


Type declaration files are authored manually at: GitHub - three-types/three-ts-types: TS type library for the popular webgl library threejs

That was already discussed at GitHub: Evaluate TypeScript · Issue #15545 · mrdoob/three.js · GitHub

Thanks for the information