summaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authoruki00a <uki00a@gmail.com>2020-02-12 01:19:35 +0900
committerGitHub <noreply@github.com>2020-02-11 11:19:35 -0500
commit5a143cdbd34df590a24ec756a6319a89d7656e5c (patch)
tree4cde5539f582fccf553140e13451d4a29d6d9701 /std
parenta3bfbcceade3d359f677106399562b461b4af01a (diff)
fix(std/node): support named import for EventEmitter (#3959)
Diffstat (limited to 'std')
-rw-r--r--std/node/events.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/std/node/events.ts b/std/node/events.ts
index f035da2fc..a085ff86b 100644
--- a/std/node/events.ts
+++ b/std/node/events.ts
@@ -328,6 +328,8 @@ export default class EventEmitter {
}
}
+export { EventEmitter };
+
/**
* Creates a Promise that is fulfilled when the EventEmitter emits the given
* event or that is rejected when the EventEmitter emits 'error'. The Promise