Skip to content

Commit

Permalink
Allow void emitter
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Gonzalez committed Jun 30, 2017
1 parent bed6580 commit 7bb8d78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017 Bougarfaoui El houcine
Copyright (c) 2017 Rodrigo Gonzalez

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/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 7bb8d78

Please sign in to comment.