Skip to content

marcbouchenoire/tsatsiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tsatsiki

🥒 Run tsc with both a configuration and specific files.

build npm coverage license

  • 📚 Simple: A drop-in tsc replacement
  • 🧪 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

npm install --save-dev tsatsiki

Usage

Use it as a drop-in tsc replacement.

tsatsiki --project tsconfig.json index.ts

Staged files

Use it with lint-staged or nano-staged to only type check staged files.

{
  "**/*.{ts,tsx}": ["tsatsiki --project tsconfig.json"]
}

About

🥒 Run tsc with both a configuration and specific files.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors