Skip to content

Commit c8b5e05

Browse files
hiepthain0v1
authored andcommitted
grpc-loader: update MethodDefinition interface
1 parent c7d4566 commit c8b5e05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/proto-loader/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ export interface MethodDefinition<RequestType, ResponseType, OutputRequestType=R
126126
originalName?: string;
127127
requestType: MessageTypeDefinition;
128128
responseType: MessageTypeDefinition;
129-
options?: Protobuf.IMethod['options'];
130-
parsedOptions?: Protobuf.IMethod['parsedOptions'];
129+
options?: { [k: string]: any };
130+
parsedOptions?: { [k: string]: any };
131131
}
132132

133133
export interface ServiceDefinition {

0 commit comments

Comments
 (0)