Hosts TSConfigs to extend in a TypeScript app, tuned to a particular runtime environment
Hosts TSConfigs to extend in a TypeScript app, tuned to a particular runtime environment
Hosts TSConfigs for you to extend in your apps, tuned to a particular runtime environment. Owned and improved by the community. Basically Definitely Typed for TSConfigs.
We target the latest stable version of TypeScript, note that because we want to be consistent with the versioning the target runtime we can't always do semver releases.
Install:
npm install --save-dev @tsconfig/recommended
yarn add --dev @tsconfig/recommendedAdd to your tsconfig.json:
"extends": "@tsconfig/recommended/tsconfig.json"Install:
npm install --save-dev @tsconfig/bun
yarn add --dev @tsconfig/bunAdd to your tsconfig.json:
"extends": "@tsconfig/bun/tsconfig.json"Install:
npm install --save-dev @tsconfig/create-react-app
yarn add --dev @tsconfig/create-react-appAdd to your tsconfig.json:
"extends": "@tsconfig/create-react-app/tsconfig.json"Install:
npm install --save-dev @tsconfig/cypress
yarn add --dev @tsconfig/cypressAdd to your tsconfig.json:
"extends": "@tsconfig/cypress/tsconfig.json"Install:
npm install --save-dev @tsconfig/deno
yarn add --dev @tsconfig/denoAdd to your tsconfig.json:
"extends": "@tsconfig/deno/tsconfig.json"Install:
npm install --save-dev @tsconfig/docusaurus
yarn add --dev @tsconfig/docusaurusAdd to your tsconfig.json:
"extends": "@tsconfig/docusaurus/tsconfig.json"NOTE: You may need to add
"baseUrl": "."to yourtsconfig.jsonto support proper file resolution.
Install:
npm install --save-dev @tsconfig/ember
yarn add --dev @tsconfig/emberAdd to your tsconfig.json:
"extends": "@tsconfig/ember/tsconfig.json"NOTE: You may need to add
"baseUrl": "."to yourtsconfig.jsonto support proper file resolution.
Install:
npm install --save-dev @tsconfig/next
yarn add --dev @tsconfig/nextAdd to your tsconfig.json:
"extends": "@tsconfig/next/tsconfig.json"Install:
npm install --save-dev @tsconfig/node-lts
yarn add --dev @tsconfig/node-ltsAdd to your tsconfig.json:
"extends": "@tsconfig/node-lts/tsconfig.json"Install:
npm install --save-dev @tsconfig/node-ts
yarn add --dev @tsconfig/node-tsThis base require TypeScript 5.8+ (See announcement)
This file is meant to be used in conjunction with other Node.js configurations, you can do so by extending multiple files in the extends clause of your tsconfig.json:
{
"extends": ["@tsconfig/node22/tsconfig.json", "@tsconfig/node-ts/tsconfig.json"]
}Install:
npm install --save-dev @tsconfig/node10
yarn add --dev @tsconfig/node10Add to your tsconfig.json:
"extends": "@tsconfig/node10/tsconfig.json"Install:
npm install --save-dev @tsconfig/node12
yarn add --dev @tsconfig/node12Add to your tsconfig.json:
"extends": "@tsconfig/node12/tsconfig.json"Install:
npm install --save-dev @tsconfig/node14
yarn add --dev @tsconfig/node14Add to your tsconfig.json:
"extends": "@tsconfig/node14/tsconfig.json"Install:
npm install --save-dev @tsconfig/node16
yarn add --dev @tsconfig/node16Add to your tsconfig.json:
"extends": "@tsconfig/node16/tsconfig.json"Install:
npm install --save-dev @tsconfig/node17
yarn add --dev @tsconfig/node17Add to your tsconfig.json:
"extends": "@tsconfig/node17/tsconfig.json"Install:
npm install --save-dev @tsconfig/node18
yarn add --dev @tsconfig/node18Add to your tsconfig.json:
"extends": "@tsconfig/node18/tsconfig.json"Install:
npm install --save-dev @tsconfig/node19
yarn add --dev @tsconfig/node19Add to your tsconfig.json:
"extends": "@tsconfig/node19/tsconfig.json"Install:
npm install --save-dev @tsconfig/node20
yarn add --dev @tsconfig/node20Add to your tsconfig.json:
"extends": "@tsconfig/node20/tsconfig.json"Install:
npm install --save-dev @tsconfig/node21
yarn add --dev @tsconfig/node21Add to your tsconfig.json:
"extends": "@tsconfig/node21/tsconfig.json"Install:
npm install --save-dev @tsconfig/node22
yarn add --dev @tsconfig/node22Add to your tsconfig.json:
"extends": "@tsconfig/node22/tsconfig.json"Install:
npm install --save-dev @tsconfig/node23
yarn add --dev @tsconfig/node23Add to your tsconfig.json:
"extends": "@tsconfig/node23/tsconfig.json"Install:
npm install --save-dev @tsconfig/node24
yarn add --dev @tsconfig/node24Add to yo
[@tsconfig/node-ts] - [proposition] add noEmit
Add Array.fromAsync to Node 23+ bases
node24 TypeScript import issues
Question: Location of the extends in a vite-react app
Add convex tsconfig base
Add TanStack Start tsconfig base
Setting tsBuildInfoFile directory in vite-react causes issues in monorepo setup
@tsconfig/node25
(feat): Add configurations dedicated to the browser
Remove baseUrl from all bases