You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 17978e7
Browse filesBrowse the repository at this point in the historyBrowse files
fix(gax): widen port to number | string in GrpcClientOptions (#9542)
Widens `port` from `number` to `number | string` on `GrpcClientOptions`
and `ClientStubOptions` in `google-gax` to restore type compatibility
with downstream client libraries (such as `@google-cloud/pubsub`, whose
`ClientConfig` extends `gax.GrpcClientOptions` with `port?: string |
number`)
#9496 added `port?: number` to `GrpcClientOptions` (released in
`google-gax@6.11.0`). Because `@google-cloud/pubsub`'s `ClientConfig`
interface extends `gax.GrpcClientOptions` and declares `port?: string |
number`, TypeScript compilation with `skipLibCheck: false` (such as in
`@google-cloud/pubsub`'s `system-test/install.ts`) fails
0 commit comments