Urigo / WhatsApp-Clone-Tutorial

https://www.tortilla.academy/Urigo/WhatsApp-Clone-Tutorial
https://tortilla.academy
564 stars 144 forks source link

[Server Step 3.2] #54

Open shardulpathak7 opened 4 years ago

shardulpathak7 commented 4 years ago

I got error as follows :

error TS2345: Argument of type 'ApolloServer' is not assignable to parameter of type 'ApolloServerBase'. Types have separate declarations of a private property 'logger'. 12 const { query } = createTestClient(server); when I changed code to as follows the test got run : const server = new ApolloServer({ schema }) as any;

Urigo commented 4 years ago

@shapaaa I've just tried it myself with all the latest dependencies and it seem to work...

Can you try to run your code in codesandbox and reproduce the issue so I could see?

before that, also try to clone the repo from that particular step and see if there are any differences