@fantacovid-19/ts-config
v0.4.1
Published
Typescript configuration for Fantacovid-19 projects
Readme
@fantacovid-19/ts-config
Typescript configuration for Fantacovid-19 projects
Table of Contents
Installation
You can install the package using npm or pnpm:
npm:
npm install --save-dev @fantacovid-19/ts-configpnpm:
pnpm add --save-dev @fantacovid-19/ts-configUsage
To use the TypeScript configuration provided by @fantacovid-19/ts-config, you can extend it in your project's tsconfig.json file. Here's an example and supported options:
@fantacovid-19/ts-config/base@fantacovid-19/ts-config/extra-strict
{
"extends": "@fantacovid-19/ts-config",
"compilerOptions": {
// You can override any options here if needed
},
"include": ["src/**/*"]
}Base
The base configuration provides a solid foundation for TypeScript projects, including essential compiler options that ensure type safety and code quality.
you can view the full list of options in the base configuration file.
Extra Strict
The extra-strict configuration builds upon the base configuration by enabling additional strict type-checking options. This configuration is ideal for projects that require a higher level of type safety and want to catch more potential issues during development.
You can view the full list of options in the extra strict configuration file.
