Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 677 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 677 Bytes

@tinkoff/typescript-config

Common TypeScript configuration

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"]
}