Skip to content

Commit

Permalink
docs tweak ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
cspotcode committed Jul 13, 2022
1 parent 3333005 commit 604b2aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ These tricks will make ts-node faster.

## Skip typechecking

It is often better to typecheck as part of your tests or linting. You can use `tsc --noEmit` to do this. In these cases, ts-node can skip typechecking making it much faster.
It is often better to typecheck as part of your tests or linting. You can run `tsc --noEmit` to do this. In these cases, ts-node can skip typechecking, making it much faster.

To skip typechecking in ts-node, do one of the following:

Expand All @@ -16,7 +16,7 @@ To skip typechecking in ts-node, do one of the following:

## With typechecking

If you absolutely must use ts-node for typechecking:
If you absolutely must typecheck in ts-node:

* Avoid dynamic `require()` which may trigger repeated typechecking; prefer `import`
* Try with and without `--files`; one may be faster depending on your project
Expand Down

0 comments on commit 604b2aa

Please sign in to comment.