Flow: property `Component`. Too few type arguments. Expected at least 1

Created on 24 Nov 2017  路  1Comment  路  Source: facebook/flow

If this is a bug, please try reproducing using https://flow.org/try/.

image

/* @flow */
import React, { Component } from "react"

class MyComponent extends Component {

}

Most helpful comment

Component requires at least one type argument:

class MyComponent extends Component<{}> {

}

>All comments

Component requires at least one type argument:

class MyComponent extends Component<{}> {

}
Was this page helpful?
0 / 5 - 0 ratings

Related issues

gcanti picture gcanti  路  48Comments

StoneCypher picture StoneCypher  路  253Comments

gabro picture gabro  路  57Comments

MarcoPolo picture MarcoPolo  路  67Comments

TylerEich picture TylerEich  路  49Comments