We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ddd8cb commit 49bda5cCopy full SHA for 49bda5c
2 files changed
packages/microservices/interfaces/index.ts
@@ -7,3 +7,4 @@ export * from './microservice-configuration.interface';
7
export * from './packet.interface';
8
export * from './pattern-metadata.interface';
9
export * from './request-context.interface';
10
+export * from './pattern.interface';
packages/microservices/interfaces/pattern.interface.ts
@@ -0,0 +1,8 @@
1
+
2
+export type MsFundamentalPattern = string | number;
3
4
+export interface MsObjectPattern {
5
+ [key: string]: MsFundamentalPattern | MsObjectPattern;
6
+}
+export type MsPattern = MsObjectPattern | MsFundamentalPattern;
0 commit comments