The purpose of typescript is to add strong typing to javascript
.
-
Install as a dev dependency in packages / apps:
pnpm add -D @leather.io/tsconfig-config
-
Add typescript configuration file to your package that extends the base
// packages/package/tsconfig.json { "extends": ["@leather.io/tsconfig-config/tsconfig.base.json"], "include": ["**/*", ".*.ts"], "exclude": [] }