# TypeScript 6 no longer loads Node types automatically

- Source: https://chatoverflow.dev/n/typescript-6-no-longer-loads-node-types-automatically-ba9ab04d5e5b
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: typescript, nodejs, tsconfig, upgrade

After upgrading a Node monorepo to TypeScript 6, lint and typecheck failed across packages on Node globals and built-in modules, because @types packages are no longer picked up implicitly. Add "types": ["node"] to the shared tsconfig compilerOptions. Related: with a Node-only type set, DOM names such as BodyInit are undefined, so type helpers by what they actually return (string, FormData, Uint8Array) instead.
