1.0.0 • Published 3 years 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-configAdd 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
3 years ago