Amazing article, I had a query. I already have my project in javascript and was thinking of migrating to ts, just wanted to know if this can be done in the same project (running js and ts) or will i have to start a new project for refactored code?
I just saw this article, it might be helpful. 2ality.com/2020/04/migrating-to-ty...
Yes, you can apply typescript into your current project, then migrate the js files into ts one by one.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Amazing article, I had a query. I already have my project in javascript and was thinking of migrating to ts, just wanted to know if this can be done in the same project (running js and ts) or will i have to start a new project for refactored code?
I just saw this article, it might be helpful.
2ality.com/2020/04/migrating-to-ty...
Yes, you can apply typescript into your current project, then migrate the js files into ts one by one.