Skip to content

doc: add esm examples to node:trace_events#56514

Merged
nodejs-github-bot merged 1 commit intonodejs:mainfrom
mfdebian:docs-trace_events-esm
Jan 10, 2025
Merged

doc: add esm examples to node:trace_events#56514
nodejs-github-bot merged 1 commit intonodejs:mainfrom
mfdebian:docs-trace_events-esm

Conversation

@mfdebian
Copy link
Contributor

@mfdebian mfdebian commented Jan 8, 2025

This PR adds the missing ESM counterparts of the CJS examples for the Trace events documentation.

I also destructured the (require) imports for the current CJS examples following a feedback I had received in previous PRs, except for the last one where I didn't see it necessary, but tell me what you think and I can do it quickly!

I've tested every single example and they all work/behave as expected.

Happy new year! 🥳

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants