Skip to content

Commit

Permalink
Merge pull request #15 from Kaffiend/master
Browse files Browse the repository at this point in the history
allow void emitters
  • Loading branch information
Bougarfaoui El houcine authored Aug 6, 2017
2 parents 36f093c + bca4afa commit cd4fd38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion socket-io.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class WrappedSocket {
return this.ioSocket.disconnect.apply(this.ioSocket, arguments);
}

emit(eventName: string, data: any, callback?: Function) {
emit(eventName: string, data?: any, callback?: Function) {
return this.ioSocket.emit.apply(this.ioSocket, arguments);
}

Expand Down

0 comments on commit cd4fd38

Please sign in to comment.