Skip to content

Commit

Permalink
docs(README): add note
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Jan 21, 2018
1 parent 6732314 commit 747c766
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ You can specified the `{test}` by `directories` of `package.json`.
},
```

**Notes:** Why need to load different `tsconfig.json` between main and test?

In some times, we use different `tsconfig.json` between main code and test code.

For example, you can enable `allowJs` in test code.
It supports gradual migration that convert JavaScript to TypeScript.

### Type Check by default

`ts-node`(v4) disable `type-check` by default.
Expand Down

0 comments on commit 747c766

Please sign in to comment.