0.1.0 • Published 2 years ago
@mhld/tsconfig v0.1.0
tsconfig
Shared TypeScript config for my projects
Install
npm install --save-dev @mhld/tsconfig
This config requires TypeScript 4.7 or later.
Usage
tsconfig.json
{
"extends": "@mhld/tsconfig",
"compilerOptions": {
"outDir": "dist"
}
}
When you are targeting a higher version of Node.js, check the relevant ECMAScript version and add it as target
:
{
"extends": "@mhld/tsconfig",
"compilerOptions": {
"outDir": "dist",
"target": "ES2021"
}
}
0.1.0
2 years ago