-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
doc: update typescript docs #7412
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
Conversation
Fix a small conceptual issue and add details for v23 Signed-off-by: Lucas Santos <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
cc @nodejs/typescript |
AugustinMauroy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General note :
- use pin node version in the doc like https://nodejs.org/docs/latest-v23.x/api/typescript.html
- add link to doc for --experimental-transform-types
Co-authored-by: Augustin Mauroy <[email protected]> Signed-off-by: Lucas Santos <[email protected]>
Co-authored-by: Rob Palmer <[email protected]> Signed-off-by: Lucas Santos <[email protected]>
Done! Also added a link to V23's |
|
It seems to be stuck apparently, I can't get any results from the checks back and it's blocking the merge 🤔 |
|
Lighthouse Results
|
Description
This PR extends and improves upon the original article about "How to run TS with Node". It fixes a small conceptual issue (using both flags), while adding the configuration section to point that the users will probably need to update their tsconfig and expands on new versions of node, especially on v23 which enables type stripping by default, but not type transformation.
Overall, it just adds more information on running TS by default.
Validation
Documentation change, no code.
Check List
npm run formatto ensure the code follows the style guide.npm run testto check if all tests are passing.npx turbo buildto check if the website builds without errors.