I get the following error message when I run tsc:
node_modules/graphql-yoga/dist/src/types.d.ts(12,42): error TS2304: Cannot find name 'Exclude'.
I'm using version 1.13.1 of the library. Downgrading to 1.6.1 fixes the issue.
@artemzakharov can you provide a minimal example repo to reproduce the problem?
https://github.com/artemzakharov/bugtest.git
It's just a boilerplate project created with graphql create, using the typescript-advanced template.
I just want to confirm that I too have the same issue, just came across it when attempting to deploy.
I was having this issue when I had [email protected]. Upgrading to [email protected] fixed the issue.
@hyrecar To confirm upgrading typescript fixed this issue for me also.
+1 for confirmation of both issue and upgrade as solution
Thanks!
Most helpful comment
I was having this issue when I had
[email protected]. Upgrading to[email protected]fixed the issue.