mirror of https://github.com/grpc/grpc-node.git
grpc-js: fix more linting issues
This commit is contained in:
parent
b84d2f3b39
commit
c4b92d91a1
|
@ -21,7 +21,7 @@
|
||||||
* specific object type if the input has the right structure, and throws an
|
* specific object type if the input has the right structure, and throws an
|
||||||
* error otherwise. */
|
* error otherwise. */
|
||||||
|
|
||||||
export interface RoundRobinConfig {}
|
export type RoundRobinConfig = {};
|
||||||
|
|
||||||
export interface XdsConfig {
|
export interface XdsConfig {
|
||||||
balancerName: string;
|
balancerName: string;
|
||||||
|
|
|
@ -332,6 +332,8 @@ export function setup(): void {
|
||||||
registerDefaultResolver(DnsResolver);
|
registerDefaultResolver(DnsResolver);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// camelCase needed for compatibility to grpc-native-js package
|
||||||
|
// eslint-disable-next-line @typescript-eslint/class-name-casing
|
||||||
export interface dnsUrl {
|
export interface dnsUrl {
|
||||||
host: string;
|
host: string;
|
||||||
port?: string;
|
port?: string;
|
||||||
|
|
Loading…
Reference in New Issue