Skip to content

Commit

Permalink
Document new typescript-support/warn entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
AviVahl committed Jul 9, 2018
1 parent 2ab63ce commit 7554ace
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/typescript-support/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ Usage with [Visual Studio Code](https://github.com/Microsoft/vscode):
}
```

If throwing on type errors is too invasive to your development process,
you can use an alternative entry point that calls `console.warn()` instead:
```
node -r typescript-support/warn ./my-script.ts
```

## Why?

I recently experimented with a neat project setup where I have one
Expand Down

0 comments on commit 7554ace

Please sign in to comment.