Urigo / WhatsApp-Clone-Tutorial

https://www.tortilla.academy/Urigo/WhatsApp-Clone-Tutorial

Home Page:https://tortilla.academy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Server Step 3.2]

shardulpathak7 opened this issue · comments

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;

@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