mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
Update packages/microservices/server/server-rmq.ts
Co-authored-by: Rick Dutour Geerling <rick@trilon.io>
This commit is contained in:
@@ -34,14 +34,14 @@ import { Server } from './server';
|
||||
// because it would require the user to install the amqplib package even if they dont use RabbitMQ
|
||||
// Otherwise, TypeScript would fail to compile the code.
|
||||
//
|
||||
type AmqpConnectionManager =
|
||||
import('amqp-connection-manager').AmqpConnectionManager;
|
||||
type ChannelWrapper = import('amqp-connection-manager').ChannelWrapper;
|
||||
type Message = import('amqplib').Message;
|
||||
// type AmqpConnectionManager =
|
||||
// import('amqp-connection-manager').AmqpConnectionManager;
|
||||
// type ChannelWrapper = import('amqp-connection-manager').ChannelWrapper;
|
||||
// type Message = import('amqplib').Message;
|
||||
|
||||
// type AmqpConnectionManager = any;
|
||||
// type ChannelWrapper = any;
|
||||
// type Message = any;
|
||||
type AmqpConnectionManager = any;
|
||||
type ChannelWrapper = any;
|
||||
type Message = any;
|
||||
|
||||
let rmqPackage = {} as any; // as typeof import('amqp-connection-manager');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user