Skip to main content

TypeScript

Usage

Extend a preset in your tsconfig.json:

{
"extends": "@rtorcato/js-tooling/typescript/base"
}

Available presets

ExportUse case
typescript/baseBase config for all projects
typescript/reactReact component libraries
typescript/nextNext.js apps
typescript/nodeNode.js servers and scripts
typescript/expressExpress.js APIs

ts-reset

The wizard copies a reset.d.ts that imports @total-typescript/ts-reset, giving you stricter array and JSON types out of the box. Available at:

npx @rtorcato/js-tooling copy reset