diff options
author | uki00a <uki00a@gmail.com> | 2020-02-12 01:19:35 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 11:19:35 -0500 |
commit | 5a143cdbd34df590a24ec756a6319a89d7656e5c (patch) | |
tree | 4cde5539f582fccf553140e13451d4a29d6d9701 | |
parent | a3bfbcceade3d359f677106399562b461b4af01a (diff) |
fix(std/node): support named import for EventEmitter (#3959)
-rw-r--r-- | std/node/events.ts | 2 |
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 |