Allow custom fetch and remove undici-specific dispatcher option #115
Annotations
17 errors
|
build (22)
Process completed with exit code 1.
|
|
build (22):
lib/test/http/proxy-callbacks.test.ts#L50
Type 'Agent' is not assignable to type 'Dispatcher'.
|
|
build (22):
lib/test/http/customFetch.test.ts#L51
Type '(input: RequestInfo, init?: RequestInit | undefined) => Promise<Response>' is not assignable to type '(input: string | URL | Request, init?: RequestInit | undefined) => Promise<Response>'.
|
|
build (22):
lib/http-proxy/passes/web-incoming.ts#L231
This comparison appears to be unintentional because the types 'FetchOptions | undefined' and 'boolean' have no overlap.
|
|
build (22):
lib/http-proxy/passes/web-incoming.ts#L229
Property 'customFetch' does not exist on type 'NormalizedServerOptions'.
|
|
build (20)
The strategy configuration was canceled because "build._22" failed
|
|
build (20)
Process completed with exit code 1.
|
|
build (20):
lib/test/http/proxy-callbacks.test.ts#L50
Type 'Agent' is not assignable to type 'Dispatcher'.
|
|
build (20):
lib/test/http/customFetch.test.ts#L51
Type '(input: RequestInfo, init?: RequestInit | undefined) => Promise<Response>' is not assignable to type '(input: string | URL | Request, init?: RequestInit | undefined) => Promise<Response>'.
|
|
build (20):
lib/http-proxy/passes/web-incoming.ts#L231
This comparison appears to be unintentional because the types 'FetchOptions | undefined' and 'boolean' have no overlap.
|
|
build (20):
lib/http-proxy/passes/web-incoming.ts#L229
Property 'customFetch' does not exist on type 'NormalizedServerOptions'.
|
|
build (24)
The strategy configuration was canceled because "build._22" failed
|
|
build (24)
Process completed with exit code 1.
|
|
build (24):
lib/test/http/proxy-callbacks.test.ts#L50
Type 'Agent' is not assignable to type 'Dispatcher'.
|
|
build (24):
lib/test/http/customFetch.test.ts#L51
Type '(input: RequestInfo, init?: RequestInit | undefined) => Promise<Response>' is not assignable to type '(input: string | URL | Request, init?: RequestInit | undefined) => Promise<Response>'.
|
|
build (24):
lib/http-proxy/passes/web-incoming.ts#L231
This comparison appears to be unintentional because the types 'FetchOptions | undefined' and 'boolean' have no overlap.
|
|
build (24):
lib/http-proxy/passes/web-incoming.ts#L229
Property 'customFetch' does not exist on type 'NormalizedServerOptions'.
|