This package has been deprecated

Author message:

This project has been renamed to Tsatsiki. Install using tsatsiki instead.

tsc-mixed

1.0.1 • Public • Published

tsc-mixed

📠 ️Run tsc with a configuration and files.

build npm license

Introduction

tsc-mixed 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 tsc-mixed

npm

npm install --save-dev tsc-mixed

Usage

Use it as a drop-in tsc replacement.

tsc-mixed --project tsconfig.json index.ts

lint-staged

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

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

Package Sidebar

Install

npm i tsc-mixed

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

19.4 kB

Total Files

18

Last publish

Collaborators

  • marcbouchenoire