A comprehensive and strict TypeScript configuration that enforces modern, type-safe development practices. Seamlessly implement robust typing standards across projects by utilizing cutting-edge TypeScript features and safety checks.
This config delivers a future-ready TypeScript setup through a single, optimized configuration, ensuring maximum type safety and compatibility with modern JavaScript runtimes including Node.js native TypeScript support.
- Install package:
pnpm add --save-dev typescript @azat-io/typescript-config
- Create TypeScript configuration file
tsconfig.json
in the root of your project:
{
"extends": "@azat-io/typescript-config"
}
- Add script for package.json:
{
"scripts": {
"test:types": "tsc --noEmit --pretty"
}
}
MIT © Azat S.