mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 20:21:46 +00:00
fixup! fixup! feat(node): v11.13
This commit is contained in:
Vendored
-13
@@ -1,13 +0,0 @@
|
||||
import 'events';
|
||||
|
||||
declare module 'events' {
|
||||
interface InferrerableEmitter<O extends { [key: string]: any[] }> {
|
||||
on<K extends keyof O>(key: K, fn: (...args: O[K]) => void): this;
|
||||
}
|
||||
|
||||
interface StaticEmitter {
|
||||
once(emitter: NodeJS.EventEmitter, event: string | symbol): Promise<any>;
|
||||
}
|
||||
|
||||
const internal: StaticEmitter;
|
||||
}
|
||||
Reference in New Issue
Block a user