mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Fix localAddress type (#43227)
localAddress is not a boolean, it's a string as even stated in it's description.
This commit is contained in:
parent
9758f5b2e6
commit
1754e384f4
2
types/http-proxy/index.d.ts
vendored
2
types/http-proxy/index.d.ts
vendored
@ -207,7 +207,7 @@ declare namespace Server {
|
||||
/** Specify whether you want to ignore the proxy path of the incoming request. */
|
||||
ignorePath?: boolean;
|
||||
/** Local interface string to bind for outgoing connections. */
|
||||
localAddress?: boolean;
|
||||
localAddress?: string;
|
||||
/** Changes the origin of the host header to the target URL. */
|
||||
changeOrigin?: boolean;
|
||||
/** specify whether you want to keep letter case of response header key */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user