Skip to content

Commit ea2d326

Browse files
refactor(): remove generic type
1 parent d2cadc1 commit ea2d326

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/microservices/server/server-rmq.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import {
1212
RQM_DEFAULT_URL,
1313
} from '../constants';
1414
import { CustomTransportStrategy, RmqOptions } from '../interfaces';
15-
import { MicroserviceOptions } from '../interfaces/microservice-configuration.interface';
1615
import { Server } from './server';
1716

1817
let rqmPackage: any = {};
@@ -72,7 +71,7 @@ export class ServerRMQ extends Server implements CustomTransportStrategy {
7271
}
7372

7473
public createClient<T = any>(): T {
75-
const socketOptions = this.getOptionsProp<RmqOptions>(this.options, 'socketOptions');
74+
const socketOptions = this.getOptionsProp(this.options, 'socketOptions');
7675
return rqmPackage.connect(this.urls, socketOptions);
7776
}
7877

0 commit comments

Comments
 (0)