Open akornatskyy opened 2 years ago
typescript: 4.8.4
node_modules/graphql-helix/dist/send-result/w3c.d.ts:2:62 - error TS2552: Cannot find name 'Response'. Did you mean 'TResponse'? 2 export declare function getRegularResponse<TResponse extends Response>(responseResult: HelixResponse<any, any>, Response: { ~~~~~~~~ node_modules/graphql-helix/dist/send-result/w3c.d.ts:3:16 - error TS2304: Cannot find name 'BodyInit'. 3 new (body: BodyInit, responseInit: ResponseInit): TResponse; ~~~~~~~~ node_modules/graphql-helix/dist/send-result/w3c.d.ts:3:40 - error TS2304: Cannot find name 'ResponseInit'. 3 new (body: BodyInit, responseInit: ResponseInit): TResponse; ~~~~~~~~~~~~ node_modules/graphql-helix/dist/send-result/w3c.d.ts:5:64 - error TS2552: Cannot find name 'Response'. Did you mean 'TResponse'? 5 export declare function getMultipartResponse<TResponse extends Response, TReadableStream extends ReadableStream>(multipartResult: MultipartResponse<any, any>, Response: { ~~~~~~~~ node_modules/graphql-helix/dist/send-result/w3c.d.ts:5:98 - error TS2552: Cannot find name 'ReadableStream'. Did you mean 'TReadableStream'? 5 export declare function getMultipartResponse<TResponse extends Response, TReadableStream extends ReadableStream>(multipartResult: MultipartResponse<any, any>, Response: { ~~~~~~~~~~~~~~ node_modules/graphql-helix/dist/send-result/w3c.d.ts:6:57 - error TS2304: Cannot find name 'ResponseInit'. 6 new (readableStream: TReadableStream, responseInit: ResponseInit): TResponse; ~~~~~~~~~~~~ node_modules/graphql-helix/dist/send-result/w3c.d.ts:8:28 - error TS2304: Cannot find name 'UnderlyingSource'. 8 new (underlyingSource: UnderlyingSource): TReadableStream; ~~~~~~~~~~~~~~~~ node_modules/graphql-helix/dist/send-result/w3c.d.ts:10:59 - error TS2552: Cannot find name 'Response'. Did you mean 'TResponse'? 10 export declare function getPushResponse<TResponse extends Response, TReadableStream extends ReadableStream>(pushResult: Push<any, any>, Response: { ~~~~~~~~ node_modules/graphql-helix/dist/send-result/w3c.d.ts:10:93 - error TS2552: Cannot find name 'ReadableStream'. Did you mean 'TReadableStream'? 10 export declare function getPushResponse<TResponse extends Response, TReadableStream extends ReadableStream>(pushResult: Push<any, any>, Response: { ~~~~~~~~~~~~~~ node_modules/graphql-helix/dist/send-result/w3c.d.ts:11:57 - error TS2304: Cannot find name 'ResponseInit'. 11 new (readableStream: TReadableStream, responseInit: ResponseInit): TResponse; ~~~~~~~~~~~~ node_modules/graphql-helix/dist/send-result/w3c.d.ts:13:28 - error TS2304: Cannot find name 'UnderlyingSource'. 13 new (underlyingSource: UnderlyingSource): TReadableStream; ~~~~~~~~~~~~~~~~ node_modules/graphql-helix/dist/send-result/w3c.d.ts:15:55 - error TS2304: Cannot find name 'Response'. 15 export declare function getResponse<TResponse extends Response, TReadableStream extends ReadableStream>(result: ProcessRequestResult<any, any>, Response: { ~~~~~~~~ node_modules/graphql-helix/dist/send-result/w3c.d.ts:15:89 - error TS2304: Cannot find name 'ReadableStream'. 15 export declare function getResponse<TResponse extends Response, TReadableStream extends ReadableStream>(result: ProcessRequestResult<any, any>, Response: { ~~~~~~~~~~~~~~ node_modules/graphql-helix/dist/send-result/w3c.d.ts:16:16 - error TS2304: Cannot find name 'BodyInit'. 16 new (body: BodyInit, responseInit: ResponseInit): TResponse; ~~~~~~~~ node_modules/graphql-helix/dist/send-result/w3c.d.ts:16:40 - error TS2304: Cannot find name 'ResponseInit'. 16 new (body: BodyInit, responseInit: ResponseInit): TResponse; ~~~~~~~~~~~~ node_modules/graphql-helix/dist/send-result/w3c.d.ts:18:28 - error TS2304: Cannot find name 'UnderlyingSource'. 18 new (underlyingSource: UnderlyingSource): TReadableStream; ~~~~~~~~~~~~~~~~ Found 16 errors in the same file, starting at: node_modules/graphql-helix/dist/send-result/w3c.d.ts:2
workaround: skipLibCheck in tsconfig.json.
skipLibCheck
tsconfig.json
typescript: 4.8.4
workaround:
skipLibCheck
intsconfig.json
.