We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 342f985 commit 474b97cCopy full SHA for 474b97c
base/base_inner.ts
@@ -1,3 +1,4 @@
1
+ // TODO: Replace this declaration with NodeJS.EventEmitter
2
class EventEmitter {
3
addListener(event: string, listener: Function): this;
4
on(event: string, listener: Function): this;
@@ -11,7 +12,7 @@
11
12
listenerCount(type: string): number;
13
prependListener(event: string, listener: Function): this;
14
prependOnceListener(event: string, listener: Function): this;
- eventNames(): string[];
15
+ eventNames(): Array<(string | symbol)>;
16
}
17
18
class Accelerator extends String {
0 commit comments