-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
doc: use ESM syntax for WASI example #36848
Conversation
@nodejs/wasi |
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.
LGTM
Somehow this turned into 101 files being changed? If that's intentional, I think the commits should be split out into separate PRs. |
There are two commits, one to add the TLA syntax to the linter, and one to make the change this PR is about. I'm opening #36911 to this PR about WASI docs only. |
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.
The WASI docs change LGTM.
PR-URL: nodejs#36848 Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Guy Bedford <[email protected]>
Landed in 88a5426 |
PR-URL: #36848 Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Guy Bedford <[email protected]>
PR-URL: #36848 Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Guy Bedford <[email protected]>
Using top-level await and ESM makes sense here I think, and it makes the example easier to follow.