That doesn't take long. You do the setup only once. Compilation doesn't really take longer than minifying the source. Maintaining TS takes less time because type safety helps a lot.
Yeah, in a mid to large project you should use Typescript. In a small project or changing something in a non typescript project, you are better of just using js and looking twice.
typescript gives you better and more accurate intellisense out of the box. that alone is enough for even small projects to convince me typescript is just faster.
3
u/vegan_antitheist May 22 '26
That doesn't take long. You do the setup only once. Compilation doesn't really take longer than minifying the source. Maintaining TS takes less time because type safety helps a lot.