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

Discussão em 'Angular' iniciado por Dhara Kanala, Novembro 12, 2024.

  1. Dhara Kanala

    Dhara Kanala Guest

    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??

    Continue reading...

Compartilhe esta Página