Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove index signature from ChannelOptions to fix intersection error described in #1558 which causes issues on using ClientOptions direct fields with TypeScript. Removing of index signature required few minor changes: - adding few constant types that were used throughout the app - using `as const` assertion in xds-client - using not-so-great type cast in channelOptionsEqual Alternative solution would be removing the index signature from ChannelOptions explicitly in ClientOptions definition, which is not trivial and probably calls for a generic type helper. See: #1558 Fixes: #1558
- Loading branch information