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
Ok so after investigation. index.flow.js shouldn't be in lib-def format because then you have to install it using flow-typed or point to it in .flowconfig. Also importing types from other lib-defs does not work now in flow.
Next thing is to use RequestOptions type from flow definitions instead of RequestInit from fetch lib.
And last thing is install lib defs using flow-typed and import Middleware from redux.
michalkvasnicak
changed the title
Copy index.js.flow as apollo.umd.js.flow too
Support flow type without configuration
Jun 23, 2017
I want to typecheck using
flow
in my project but it isn't working without configuration because there is noapollo.umd.js.flow
file.As in apollographql/graphql-tag#98, copying
index.js.flow
toapollo.umd.js.flow
should do the job just fine.The text was updated successfully, but these errors were encountered: