Apr 9, 2022
You don't have to convert all your files into *.ts|*.tsx ones.
You can progressively opt-in into TypeScript. You can enable JS files in the tsconfig. That way you can keep your JS files and progressively add TS ones.
Another approach is to annotate your JS files with comments.
Either way the transition can be super smooth and risk free to any codebase.
Hope that helps, cheers :)