Fixed typo in listener removal method, now conforms to interface.

This commit is contained in:
Panu Pitkämäki
2013-08-07 18:00:11 +03:00
parent bded8a8af5
commit dc5453adbd
+1 -1
View File
@@ -224,7 +224,7 @@ declare module "events" {
on(event: string, listener: Function): any;
once(event: string, listener: Function): void;
removeListener(event: string, listener: Function): void;
removeAllListener(sevent?: string): void;
removeAllListeners(event?: string): void;
setMaxListeners(n: number): void;
listeners(event: string): { Function; }[];
emit(event: string, arg1?: any, arg2?: any): void;