1
0
Fork 0
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:
uki00a 2020-02-12 01:19:35 +09:00 committed by GitHub
parent a3bfbccead
commit 5a143cdbd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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