Synapse Open Synapse
Tech

TypeScript 7.1 content mappers made type checks 20× faster

Reddit · r/programming · · 7 min read

I created TypeSQL , a library that type-checks raw Postgres SQL inside TypeScript's type system, with no codegen and no database connection: const q = sql("SELECT id, email FROM users WHERE id = $1", 42); // ^? Query sql("SELECT nmae FROM users"); // column "nmae" does not exist.

Latest from Reddit · r/programming