Skip to content

typescript-config — Optimization

Extend node.json for a backend package, react.json for a React library or next.json for a Next.js app.

Inherit strict and noUncheckedIndexedAccess from base.json when customizing project includes and output paths.

The React preset emits declarations only. The Next.js and Vite presets set noEmit, so use the preset suited to the build pipeline.

Set include and output paths for the consuming project. The Node preset defaults to src/**/*.ts and excludes dist and node_modules.

Package guidance · Implementation.