redux-webpack-es6-boilerplate
Version:
A starter project for modern React apps with Redux
16 lines (9 loc) • 466 B
JavaScript
/* @flow */
// Note: we already have the definitions from
// https://github.com/facebook/flow/blob/master/lib/react.js
// so the below are merely helpful extensions
import React from 'react';
declare type $React$Element = React.Element<*>;
declare type $React$Node = string | number | $React$Element | Array<$React$Element>;
declare type $React$Child = $React$Node | boolean | void | null;
declare type $React$Children = $React$Child | Array<$React$Children>;