Reusable TS config
npm i -D @devsht/tsconfig
or
yarn add --dev @devsht/tsconfig
Create a tsconfig.json and add this package to the extends field.
{
"extends": "@devsht/tsconfig",
"compilerOptions": {
"outDir": "dist"
},
"include": ["src"]
}