We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents abbf10a + 3e1eb1f commit e2191cfCopy full SHA for e2191cf
src/lib/template/svc_tsd.hbs
@@ -76,7 +76,11 @@ export interface I{{{serviceName}}}Client {
76
}
77
78
export class {{{serviceName}}}Client extends grpc.Client implements I{{{serviceName}}}Client {
79
+ {{#if (fetchIsGrpcJs)}}
80
+ constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
81
+ {{else}}
82
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
83
+ {{/if}}
84
{{#each methods}}
85
{{#eq type "ClientUnaryCall"}}
86
public {{lcFirst methodName}}(request: {{{requestTypeName}}}, callback: (error: grpc.ServiceError | null, response: {{{responseTypeName}}}) => void): grpc.ClientUnaryCall;
0 commit comments