README
typescript
Check Digit "blessed" version of Typescript compiler and configuration.
The version of this package will always match the underlying version of TypeScript.
Installation
npm add -D @checkdigit/typescript
Installation will bring in, as a production dependency, the version of TypeScript that matches the version of the @checkdigit/typescript package.
To use, make sure your project's tsconfig.json
extends @checkdigit/typescript
. Make sure your project does not bring in it's own version of typescript as a dependency.
tsconfig.json
Example {
"extends": "@checkdigit/typescript",
"compilerOptions": {
"rootDir": "src",
"outDir": "build"
},
"exclude": [
"node_modules",
"build",
"dist",
"serve"
]
}