DEV Community

Discussion on: How to Config React Project with Next.js, Typescript, TSLint, and Jest?

Collapse
 
iamsiddhant05 profile image
Siddhant Sahay

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?

Collapse
 
oahehc profile image
Andrew

I just saw this article, it might be helpful.

2ality.com/2020/04/migrating-to-ty...

Collapse
 
oahehc profile image
Andrew

Yes, you can apply typescript into your current project, then migrate the js files into ts one by one.