Provides a collection of shareable TypeScript configurations (tsconfigs) that can easily be reused across projects.
These configurations are tailored for different types of projects, allowing you to easily set up your TypeScript environment without the need to manually configure every aspect.
You can install the @klnjs/typescript-config
package using your preferred package manager
npm install @klnjs/typescript-config --save-dev
To use a specific tsconfig from @klnjs/typescript-config
, simply extend it in your project's tsconfig.json
file. From here you can add or override properties, to create a tsconfig that is suitable for your project.
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@klnjs/typescript-config/core",
"compilerOptions": {
"strict": true
}
}