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
{{ message }}
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
Hey @pitr12, thanks for filing the issue. Yeah, it seems like we could easily fix this by importing it in the proper way. Would you mind making a PR? 🙂 🙏
Using typedefs from react-apollo causes flow error to appear:
Named import from module 'react'. This module has no named export called 'Component'.
Issue is exactly same as one referred here: facebook/flow#3685
The cause of problem is probably that in index.js.flow
import type { Component } from 'react';
is outside of a declare module block.When it is moved into declare module block, errors disappear.
Version
The text was updated successfully, but these errors were encountered: