Flow: Element. Property not found in

Created on 13 Feb 2018  路  2Comments  路  Source: facebook/flow

I use [email protected], [email protected]

// @flow
import React, {Component} from 'react';
class ClassName extends React.Component<Props, State> {
...
  render(): React.Element<any> {
            ^^^^^^^^^^^^^^^^^^^^ Element. Property not found in
...
 }
}

Is this a bug, or am I missing something??

Most helpful comment

import * as React from 'react';

All 2 comments

import * as React from 'react';

This probably can be closed.
/cc @vkurchatkin

Was this page helpful?
0 / 5 - 0 ratings