Refactoring TS polluted JS to normal, clean JS with JSDocs (because type annotations are fine, but TS is completely unnecessary if you use literally any competent code editor, you should not need to transpile "not JS" into JS just because you want type checking) is way more work than it should be.