1.0.0 • Published 1 year ago
@reverse-hr/typescript-config v1.0.0
TypeScript
# npm
npm install --save-dev @reverse-hr/typescript-config
# yarn
yarn add --dev @reverse-hr/typescript-config
Add to your tsconfig.json
:
Node
At the moment, the configuration supports a version of Node >= 14.
{
"extends": "@reverse-hr/typescript-config/tsconfig.node.json",
"compilerOptions": {
"declarationDir": "./types",
"typeRoots": ["./types", "./node_modules/@types"]
}
}
Next.js and Create React App
{
"extends": "@reverse-hr/typescript-config/tsconfig.react.json"
}
1.0.0
1 year ago