-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
doc: recommend setting noEmit: true
in tsconfig.json
#57320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -81,6 +81,7 @@ but we recommend version 5.8 or newer with the following `tsconfig.json` setting | |||||||||||||
```json | ||||||||||||||
{ | ||||||||||||||
"compilerOptions": { | ||||||||||||||
"noEmit": true, // Optional - prevent tsc from emitting transpiled JS | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The current wording is a literal description of the tsconfig flag - which can be independently googled. I think the added value we can bring here in the docs is to explain why you might want to use it. For example...
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added a variation of this in 839322d |
||||||||||||||
"target": "esnext", | ||||||||||||||
"module": "nodenext", | ||||||||||||||
"rewriteRelativeImportExtensions": true, | ||||||||||||||
|
Uh oh!
There was an error while loading. Please reload this page.