Skip to main content

@overdose/tsconfig

tsconfig

This package contains base tsconfig.jsons from which all other tsconfig.jsons inherit from.

Usage

yarn add @overdose/tsconfig -D

tsconfig.json:

{
"extends": "@overdose/tsconfig/base.json",
"compilerOptions": {

// Additional compiler options

}
}

Optionally, if you want to use the tsconfig.json for a React app, you can extend from @overdose/tsconfig/nextjs.json instead.

{
"extends": "@overdose/tsconfig/nextjs.json",
"compilerOptions": {

// Additional compiler options

}
}