Skip to content

Commit

Permalink
chore: add new type
Browse files Browse the repository at this point in the history
  • Loading branch information
chakhsu committed Feb 18, 2024
1 parent 243cbc0 commit b8946fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class ProtoLoader {
return new Reflection(this._packageDefinition as protoLoader.PackageDefinition, options)
}

makeClientCredentials(rootCerts?: Buffer, privateKey?: Buffer, certChain?: Buffer, verifyOptions?: any) {
makeClientCredentials(rootCerts?: Buffer, privateKey?: Buffer, certChain?: Buffer, verifyOptions?: grpc.VerifyOptions) {
if (rootCerts && privateKey && certChain) {
return grpc.credentials.createSsl(rootCerts, privateKey, certChain, verifyOptions)
} else {
Expand Down

0 comments on commit b8946fa

Please sign in to comment.