Skip to content

Commit 52caa02

Browse files
committed
refactor(microservices): use MsPattern interface instead of any type
1 parent 5763e2f commit 52caa02

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/microservices/client/client-proxy.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import {
1818
WritePacket,
1919
} from '../interfaces';
2020

21+
import * as Interfaces from '../interfaces';
22+
2123
import * as Utils from '../utils';
2224

2325
export abstract class ClientProxy {
@@ -103,7 +105,7 @@ export abstract class ClientProxy {
103105
return (obj && obj[prop]) || defaultValue;
104106
}
105107

106-
protected normalizePattern<T = any>(pattern: T): string {
108+
protected normalizePattern(pattern: Interfaces.MsPattern): string {
107109
return this.msvcUtil.transformPatternToRoute(pattern);
108110
}
109111
}

0 commit comments

Comments
 (0)