🥒 Run tsc
with both a configuration and specific files.
- 📚 Simple: A drop-in
tsc
replacement - 🧪 Reliable: Fully tested with 100% code coverage
- 📦 Typed: Written in TypeScript
Tsatsiki builds upon TypeScript's own tsc
to circumvent its TS5042
error.
tsc --project tsconfig.json index.ts
# error TS5042: Option "project" cannot be mixed with source files on a command line.
npm install --save-dev tsatsiki
Use it as a drop-in tsc
replacement.
tsatsiki --project tsconfig.json index.ts
Use it with lint-staged
or nano-staged
to only type check staged files.
{
"**/*.{ts,tsx}": ["tsatsiki --project tsconfig.json"]
}