TypeScript and Tooling

TypeScript, Configuration, and Tooling

TypeScript on Node covers running TypeScript on Node and TypeScript covers typing React 7,897 components; neither is repeated here. What belongs to the framework is that Next.js 10,514 generates types from your app directory while it builds, so a URL you typed wrong and a parameter you spelled wrong become compile errors rather than runtime surprises. Around that sit the knobs every project touches: next.config.ts, environment variables, the linter (no longer behind a Next.js command), the React Compiler, and the bundler that replaced webpack 3,824 .

Everything shown came out of npx create-next-app@16.3.5 tslab --ts --app --eslint: next 16.3.5, react 19.2.8, typescript 5.9.3, eslint 9.39.5, eslint-config-next 16.3.5.

Subsections