When I run tsc this file is incorrectly picked up even after explicitly setting skipLibCheck and exclude options on tsconfig.json.
node_modules/@elysiajs/apollo/src/index.ts:65:41 - error TS2345: Argument of type 'string | (() => Promise<string>)' is not assignable to parameter of type 'ReadableStream<any> | BlobPart | BlobPart[] | FormData | URLSearchParams | null | undefined'.
Type '() => Promise<string>' is not assignable to type 'ReadableStream<any> | BlobPart | BlobPart[] | FormData | URLSearchParams | null | undefined'.
65 return new Response(landingPage, {
~~~~~~~~~~~
Found 1 error in node_modules/@elysiajs/apollo/src/index.ts:65
When I run
tsc
this file is incorrectly picked up even after explicitly settingskipLibCheck
andexclude
options ontsconfig.json
.Even vscode picks it up!