fix: update type of eureka-js-client config object (#39946)

This commit is contained in:
Johnson Lee 2019-11-05 08:27:29 +08:00 committed by Nathan Shively-Sanders
parent bda57b42ef
commit 3bdf9dc509

View File

@ -21,7 +21,7 @@ export namespace EurekaClient {
type DataCenterName = 'Netflix' | 'Amazon' | 'MyOwn';
interface EurekaConfig {
requestMiddleware?: EurekaMiddlewareConfig;
requestMiddleware?: (requestOpts: any, done: (opts: any) => void) => void;
instance: EurekaInstanceConfig;
eureka: EurekaClientConfig;
shouldUseDelta?: boolean;