Fix #502 - Make all properties of CallOptions optional

This commit is contained in:
GP ✅ 2019-09-12 09:37:00 +05:30 committed by GitHub
parent a5e12074e2
commit 9114f34ea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1198,11 +1198,11 @@ declare module "grpc" {
* Indicates which properties of a parent call should propagate to this
* call. Bitwise combination of flags in `grpc.propagate`.
*/
propagate_flags: number;
propagate_flags?: number;
/**
* The credentials that should be used to make this particular call.
*/
credentials: CallCredentials;
credentials?: CallCredentials;
/**
* Additional custom call options. These can be used to pass additional
* data per-call to client interceptors