This commit is contained in:
BuffayBu
2018-12-14 18:08:19 +08:00
committed by GitHub
parent 6def4dbaaa
commit 7b41345f82
+1 -1
View File
@@ -18,7 +18,7 @@ declare function proxy(config: proxy.Config): proxy.Proxy;
declare function proxy(contextOrUri: string | string[] | proxy.Filter, config: proxy.Config): proxy.Proxy;
declare namespace proxy {
type Filter = (pathanme: string, req: http.IncomingMessage) => boolean;
type Filter = (pathname: string, req: http.IncomingMessage) => boolean;
type Logger = (...args: any[]) => void;
interface LogProvider {
log: Logger;