@bracketed/typescript-config
A TypeScript configuration package that addresses common issues with the default TypeScript configuration. Our package is simple to use and is designed to enhance the functionality of your projects.
Additionally, we have implemented ongoing updates to ensure the package remains current and reliable for our own usage as well as yours.
( @bracketed/typescript-config By ninjaninja140 )
- A TypeScript configuration package that is built to recude the need of having to configure your own tsconfig.json file. The tsconfig extension is short for "TypeScript configuration file." It's a file that developers create to tell the TypeScript compiler how to compile their code. Think of it like a set of instructions for the compiler to follow. What is this?
When you create a tsconfig file, you can specify things like which files to compile, where to put the compiled code, and which version of TypeScript to use. You can also configure advanced settings like how to handle certain types of errors or warnings.
Having a tsconfig file is important because it helps ensure consistency across a project. By having all developers use the same file, everyone will be compiling their code in the same way, which can reduce bugs and make it easier to maintain the code over time.
It's a very essential tool for any TypeScript developer's project.
Summary (Directory)
Installation
Install via yarn
or npm
:
Yarn:
yarn add @bracketed/typescript-config --dev
Npm:
npm install --save-dev @bracketed/typescript-config
Usage
Add the following to your tsconfig.json
:
Acceptable values:
base-config
extra-strict
extra-strict-without-decorators
without-decorators
{
"extends": "@bracketed/typescript-config/xxx-xxx"
}
Contribution & Help
Feel free to contribute to this project, join our discord and help us with future development of Project Bracketed. Please also notify us of errors within our projects as we may not be aware of them at the time.