Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

fixes flow error: "Named import from module 'react'" #787

Merged
merged 2 commits into from
Jun 17, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import type {
} from "apollo-client";
import type { Store } from "redux";
import type { DocumentNode, VariableDefinitionNode } from "graphql";
import type { Component } from "react";

declare module "react-apollo" {
import type { Component } from "react";
declare type StatelessComponent<P> = (props: P) => ?React$Element<any>;

declare export interface ProviderProps {
Expand Down