Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[flow] type error #120

Closed
HsuTing opened this issue May 21, 2019 · 2 comments
Closed

[flow] type error #120

HsuTing opened this issue May 21, 2019 · 2 comments

Comments

@HsuTing
Copy link

HsuTing commented May 21, 2019

I am using koa-graphql with flow, and it throw error with can not find module "express".
Because express-graphql import express with flow, we need to install express in the project. However, we use koa, not express, this is strange.

@HsuTing HsuTing changed the title Should we need to import express-graphql? [flow] type error May 22, 2019
@HsuTing
Copy link
Author

HsuTing commented May 22, 2019

I found another problem that koa-graphql can not work with koa_v2.0.x in flow-typed.

@chentsulin
Copy link
Member

We're writing the whole codebase with TypeScript, so flowtype support is not officially supported in this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants