@kelysty/tsconfig
v1.0.0
Published
Kelysty UI TypeScript configuration
Downloads
1
Readme
@kelysty/tsconfig
Install
Using npm
:
npm install --save-dev @kelysty/tsconfig
Using yarn
:
yarn add --dev @kelysty/tsconfig
Usage
JSON
Add tsconfig.json
file in the project root with the following content.
Creating tsconfig with json
extension is the most common approach and one of the best practice.
{
"extends": "@kelysty/tsconfig/tsconfig.json"
}
JS/TS
Alternatively you can create tsconfig.js
or tsconfig.ts
file in the root of your project with following content:
module.exports = {
extends: ["@kelysty/tsconfig"]
}