4 ms·
Even if you take a JavaScript file and run it through tsc, it adds stuff? That is indeed surprising to me! It wouldn’t shock me that there were differences if
by steveklabnik 4y ago
Even if you take a JavaScript file and run it through tsc, it adds stuff? That is indeed surprising to me!
It wouldn’t shock me that there were differences if you used a bunch of fancy TypeScript features, but at the limit I would expect no overhead if you don’t use any of them. Maybe that expectation is misguided.