on-internet
← Community

Does anyone know how can I convert JavaScript file to typescript file?

Stack Overflow ·

I have my JavaScript files in project. Now I want to convert my whole JavaScript code into typescript. So is there any tool or converter that converts my js code to ts. I got npm command from google to convert JavaScript to typescript $ npm install javaScript-to-typescript from the following link https://www.npmjs.com/package/javascript-to-typescript Can anyone help me how can I use above command??

Comments

Sign in or sign up to comment and upvote.

No comments yet.