Skip to content

Commit

Permalink
Merge pull request #5820 from kaznovac/microservice-listen-void
Browse files Browse the repository at this point in the history
fix(microservices): listen method is void return type
  • Loading branch information
kamilmysliwiec committed Nov 30, 2020
2 parents 50fe8c7 + 4869090 commit 3a97eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/interfaces/nest-microservice.interface.ts
Expand Up @@ -18,7 +18,7 @@ export interface INestMicroservice extends INestApplicationContext {
* @returns {Promise}
*
*/
listen(callback: () => void): any;
listen(callback: () => void): void;

/**
* Starts the microservice (can be awaited).
Expand Down

0 comments on commit 3a97eec

Please sign in to comment.