One Reason Not to Migrate From JavaScript to TypeScript

Typescript saves a lot of development time, but is it worth an entire migrating process?

Arnold Abraham
Nerd For Tech
Published in
6 min readApr 20, 2021


Image made by Author

I got you whenever there is a project that should be migrated to another language, your inner voice is shaking and screaming: NO GOD! PLEASE NO!
It doesn’t care if you are at work and you have to do it, since coding is your job or you are struggling with this decision for months, but your private project would be a better one after the migration.

TypeScript is powerful and saves you a lot of time and frustrating debugging sessions. For large projects, you need a good reason to stay on JavaScript instead of migrating to Typescript. But exactly for this reason, the following method brings up a way out. It leaves you to have a few available options of convenience, and I know what I am talking about.

I am currently developing my next Udemy course on “How to make an Idle Web Game in plain old JavaScript!”.

My advice: if you don’t know what you are doing, then it would be better to

and leave this JavaScript Jungle!

But wait! Isn’t Typescript just…

… a superset of JavaScript, and this would mean we can easily migrate to?

That is right, and knowing this brings us to the conclusion that all JavaScript code is valid TypeScript code. Setting another one on top: the Typescript compiler isn’t useable in Typescript projects only. This little dude is like Stoner Stanley, he doesn’t care at all. At least about the ending of the file. Give him a *.jsor a *.tsfile and I bet he doesn’t even notice the difference…

Real talk: We can create hybrid projects (Yes TS checks in JS files) and the chance of not having to migrate is high. Instead of procrastinating on this decision, this guide will show you how easily you can profit from a TypeScript feature in plain JavaScript projects!

Feel the Type!



Arnold Abraham
Nerd For Tech

JavaScript, TypeScript and C#/.NET Tutorials/News/Best Practices by a German Software Engineer - Fun helps you to learn on the fly -->