2.0.1 โข Published 4 years ago
tsatsiki v2.0.1
๐ฅ Run tsc with both a configuration and specific files.
- ๐ Simple: A drop-in
tscreplacement - ๐งช Reliable: Fully tested with 100% code coverage
- ๐ฆ Typed: Written in TypeScript
Introduction
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.Installation
Yarn
yarn add -D tsatsikinpm
npm install --save-dev tsatsikiUsage
Use it as a drop-in tsc replacement.
tsatsiki --project tsconfig.json index.tslint-staged
Use it with lint-staged to only type check staged files.
{
"**/*.{ts,tsx}": ["tsatsiki --project tsconfig.json"]
}