Serious About AI in TypeScript? Start With Prompting Techniques
An AI once told me to walk to the car wash. Here is why low-context prompts produce wrong answers, and the prompting techniques that get you better TypeScript out of any model.
An AI once told me to walk to the car wash. Here is why low-context prompts produce wrong answers, and the prompting techniques that get you better TypeScript out of any model.
When the same AI agent writes both the implementation and the tests, "all tests pass" is no longer evidence of correctness. Learn TypeScript testing patterns that prevent agents from gaming your test suite.
TypeScript 6 flipped several compiler defaults, deprecated a handful of long-standing options, and gave me a good reason to enable erasableSyntaxOnly. Here's exactly what I reworked in my TypeScript projects to make the upgrade stick.
Co-locating test files next to TypeScript source code beats a centralized "tests" folder every time. Learn why co-location scales better in large TypeScript codebases and how it keeps your project navigable.
Use keyof typeof to derive types from runtime objects. One source of truth, zero drift, and TypeScript catches mistakes at compile time.