Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Incorrectly Being Picked Up by TS #4

Open
SomeUserNameReally opened this issue Sep 18, 2023 · 1 comment
Open

File Incorrectly Being Picked Up by TS #4

SomeUserNameReally opened this issue Sep 18, 2023 · 1 comment

Comments

@SomeUserNameReally
Copy link

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

Even vscode picks it up!

Screenshot_20230918_012650

@vincentvella
Copy link

Hoping to get this fixed with #5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants