Blog
Mert Özen's blog posts on software development, backend, frontend, and DevOps.
TypeScript in Node.js: Native Type Stripping, erasableSyntaxOnly and Build-Free Development
Node.js 26 runs .ts files without a build step by replacing types with whitespace, but it does not check them, so tsc --noEmit must be a separate, mandatory step. With real output: a file with a type error printing 699.8, enum and parameter property errors, mandatory import type, the tsconfig Node recommends, moving the Bookstore API to TypeScript 7, imports instead of paths, the ban on .ts in node_modules, and when you still need a build.
TypeScript 7 and Beyond: The Go-Based Compiler and the New Defaults
We look at the Go-based TypeScript 7 compiler, the defaults that came with 6.0, the settings removed in 7.0, isolatedDeclarations, the TC39 Type Annotations proposal and what the 7.1 beta brings.
tsconfig Basics: TypeScript 7 Defaults and Removed Options
We go through the strict family, target, lib, types, module, outDir and rootDir, erasableSyntaxOnly and verbatimModuleSyntax, the TypeScript 6/7 defaults and the options removed in 7.0.
Setting Up TypeScript: Running Code Is Not the Same as Type-Checking It
The TypeScript Playground, installing with npm, tsc --init, npx tsc --noEmit and node file.ts on Node 26: why running code doesn't mean type-checking it, and how to read your first error message.