You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm trying to excecute graphql (I'm writting my first grapqhl test), Flow reports this error:
const{ graphql }=require('graphql');constresult=awaitgraphql(executableSchema,query,rootObj,context);// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Promise. This type is incompatible with the expected param type ofdeclarefunction$await<T>(p: Promise<T>|T): T;// ^^^^^^^^^^^^^^ union: `Promise` | `T`. See lib: C:\Users\~\AppData\Local\Temp\flow\flowlib_fe9353\core.js:613
I'm doing something wrong?
Extra information
Flow version: v0.61.0
graphql-js version: v0.12.3
Thank you!
The text was updated successfully, but these errors were encountered:
Definitely strange! This library uses Flow 0.61 and has all tests passing right now, so it's possible something else is wrong. Can you include a full output of any Flow errors?
Description
When I'm trying to excecute graphql (I'm writting my first grapqhl test), Flow reports this error:
I'm doing something wrong?
Extra information
Thank you!
The text was updated successfully, but these errors were encountered: