mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 07:44:48 -05:00
fix(std/node): support named import for EventEmitter (#3959)
This commit is contained in:
parent
a3bfbccead
commit
5a143cdbd3
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue