597 B
597 B
The recommended base for a TSConfig.
Add the package to your "devDependencies"
:
npm install --save-dev @tsconfig/recommended
yarn add --dev @tsconfig/recommended
Add to your tsconfig.json
:
"extends": "@tsconfig/recommended/tsconfig.json"
The tsconfig.json
:
{
"compilerOptions": {
"target": "ES2015",
"module": "commonjs",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
},
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Recommended"
}