Hacker News new | ask | show | jobs
by gravlaks 3380 days ago
In 2014 I used Typescript on a four month long project. I liked it alot compared to using just JS, however compiling was slow.

I retried using Typescript 1 month ago. Compiling took 6-7 seconds for about 8 files. I could not find a solution and gave up using TS. I hope that's just me doing not good enough research.

2 comments

Definitely something up with your environment. We compile hundreds of .ts files at my job each build and it only takes a few seconds
Must be something with your setup, tsc is known to be quite fast. Maybe try using it with the watcher? "tsc -w" and you'll never need to compile more than one file at a time.