diff --git a/packages/nestjs-connectrpc/src/connectrpc.server.ts b/packages/nestjs-connectrpc/src/connectrpc.server.ts index c119d08a..c6e8e7c5 100644 --- a/packages/nestjs-connectrpc/src/connectrpc.server.ts +++ b/packages/nestjs-connectrpc/src/connectrpc.server.ts @@ -73,7 +73,8 @@ export class HTTPServer { ) } - async startServer(): Promise { + // eslint-disable-next-line @typescript-eslint/promise-function-async + startServer(): Promise { return new Promise((resolve, reject) => { switch (this.options.protocol) { case ServerProtocol.HTTP: {