@tsconfig/node17
v17.1.5
Published
A base TSConfig for working with Node 17.
Downloads
3,495
Readme
A base TSConfig for working with Node 17.
Add the package to your "devDependencies"
:
npm install --save-dev @tsconfig/node17
yarn add --dev @tsconfig/node17
Add to your tsconfig.json
:
"extends": "@tsconfig/node17/tsconfig.json"
The tsconfig.json
:
{
"$schema": "https://json.schemastore.org/tsconfig",
"_version": "17.1.0",
"compilerOptions": {
"lib": ["es2022"],
"module": "node16",
"target": "es2022",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"useDefineForClassFields": true,
"moduleResolution": "node16"
}
}
You can find the code here.