Skip to content

Commit

Permalink
doc(typescript.md) Mention incremental type checking (#25268)
Browse files Browse the repository at this point in the history
* doc(typescript.md) Mention incremental type checking

* Apply suggestions from code review

Co-authored-by: Tobias Koppers <[email protected]>

Co-authored-by: Tobias Koppers <[email protected]>
  • Loading branch information
ijjk and sokra authored May 19, 2021
1 parent ccdcd3a commit ece07f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/basic-features/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,9 @@ export default MyApp
Next.js automatically supports the `tsconfig.json` `"paths"` and `"baseUrl"` options.
You can learn more about this feature on the [Module Path aliases documentation](/docs/advanced-features/module-path-aliases.md).
## Incremental type checking
Since `v10.2.1` Next.js supports [incremental type checking](https://www.typescriptlang.org/tsconfig#incremental) when enabled in your `tsconfig.json`, this can help speed up type checking in larger applications.
It is highly recommended to be on at least `v4.3.0-beta` of TypeScript to experience the best performance when leveraging this feature.

0 comments on commit ece07f6

Please sign in to comment.