Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 710 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 710 Bytes

@tinkoff/typescript-config

Common TypeScript configuration for Tinkoff projects

Requirements

TypeScript >= 5 is required.

Usage

Install from npm

npm i --save-dev @tinkoff/typescript-config

Install tsconfig for you application type: @tsconfig/node18 for your Node.js v18 application or @tsconfig/create-react-app for CRA application.

See full lest https://github.com/tsconfig/bases.

npm i --save-dev @tsconfig/node16
# or
npm i --save-dev @tsconfig/node18
# or
npm i --save-dev @tsconfig/create-react-app

Create tsconfig.json at the project root

{
  "extends": [
    "@tinkoff/typescript-config/tsconfig.base",
    "@tsconfig/node18/tsconfig"
  ]
}