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?

Thanks.

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

The conclusion of Issue#15545 is that nothing will be done before JS to be typed.
There is hope: GitHub - tc39/proposal-type-annotations: ECMAScript proposal for type syntax that is erased - Stage 1 (despite it is a year old now)