Skip to content

Commit 6de4a00

Browse files
committed
correct comment (it's not about TLA)
1 parent 21db42b commit 6de4a00

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/diagnostics-channel-esm.mts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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.
1+
// this is used in ESM environments that do not follow the 'node' import
2+
// condition. So, `node:diagnostics_channel` MAY be present, but might not.
3+
// Eg: browsers, webpack, react-native, etc.
34
import {
45
type Channel,
56
type TracingChannel,

0 commit comments

Comments
 (0)