Hacker News new | past | comments | ask | show | jobs | submit login

Some people really love the simplicity that comes from zero compilation.

I like that too, so I always start with just JS, but then two files in realize I really want my typings.

Now I use esbuild instead of tsc, and I have the best of both worlds.




> Now I use esbuild instead of tsc, and I have the best of both worlds.

I'm interested in this. I know esbuild can compile TypeScript to JS, but that it doesn't serve as an actual typechecker. Without tsc as a dev dependency, do you just rely on your IDE's intellisense to tell you when there's a type error?


I still install tsc, but I don’t actually do the type checking except at release time (and whatever typechecking the IDE provides through the language server).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: