mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 07:40:10 +00:00
fix: update type of eureka-js-client config object (#39946)
This commit is contained in:
committed by
Nathan Shively-Sanders
parent
bda57b42ef
commit
3bdf9dc509
2
types/eureka-js-client/index.d.ts
vendored
2
types/eureka-js-client/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user