grpc-js: fix more linting issues

This commit is contained in:
Patrick Remy 2020-04-09 12:03:48 +02:00
parent b84d2f3b39
commit c4b92d91a1
No known key found for this signature in database
GPG Key ID: FE25C0B14C0500CD
2 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,7 @@
* specific object type if the input has the right structure, and throws an
* error otherwise. */
export interface RoundRobinConfig {}
export type RoundRobinConfig = {};
export interface XdsConfig {
balancerName: string;

View File

@ -332,6 +332,8 @@ export function setup(): void {
registerDefaultResolver(DnsResolver);
}
// camelCase needed for compatibility to grpc-native-js package
// eslint-disable-next-line @typescript-eslint/class-name-casing
export interface dnsUrl {
host: string;
port?: string;