rootCerts is optional.

This commit is contained in:
Nicolas Noble 2017-08-02 15:31:19 -07:00 committed by GitHub
parent 2510b86baa
commit 7e32e84bca
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import { CallCredentials } from './call-credentials';
export class ChannelCredentials {
private constructor() {}
static createSsl(rootCerts: Buffer, privateKey?: Buffer, certChain?: Buffer) : ChannelCredentials {
static createSsl(rootCerts?: Buffer, privateKey?: Buffer, certChain?: Buffer) : ChannelCredentials {
throw new Error();
}