We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21db42b commit 6de4a00Copy full SHA for 6de4a00
1 file changed
src/diagnostics-channel-esm.mts
@@ -1,5 +1,6 @@
1
-// this is used in ESM environments where top level await is allowed,
2
-// but node:diagnostics_channel might not be present, such as browsers.
+// this is used in ESM environments that do not follow the 'node' import
+// condition. So, `node:diagnostics_channel` MAY be present, but might not.
3
+// Eg: browsers, webpack, react-native, etc.
4
import {
5
type Channel,
6
type TracingChannel,
0 commit comments