News for hackers. Stuff that matters.
Re:Show HN: Postgres.js – Fastest Full-Featured PostgreSQL C... by Aeolun on Friday March 25, 2022 @07:44AM (#30800911)
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.

Re:Show HN: Postgres.js – Fastest Full-Featured PostgreSQL C... by keb_ on Friday March 25, 2022 @12:40PM (#30804300)
> 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?

Re:Show HN: Postgres.js – Fastest Full-Featured PostgreSQL C... by Aeolun on Saturday March 26, 2022 @09:53PM (#30817052)
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).