@klnjs/typescript-config
v4.3.0
Published
Provides a collection of shareable [TypeScript] configurations (tsconfigs) that can easily be reused across projects.
Downloads
340
Readme
@klnjs/typescript-config
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.
Installation
You can install the @klnjs/typescript-config
package using your preferred package manager
npm install @klnjs/typescript-config --save-dev
How to Use
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
}
}