Remove Component and PureComponent from interface ReactN
In src/index.ts, the ReactN interface should not have Component and PureComponent defined, as these are defined in the namespace in order to maintain their generics.
The existence of this interface property prevents class MyComponent extends React.Component from being used with no generics.
TravisCI fails to build if they are missing in the interface, despite the build succeeding locally.
Investigate potential TypeScript version conflicts (delete all node modules and try local build again?)
Hi, If this issue is up for grabs, i can take it up. Please let me know.
Anything marked [help wanted] is for grabs. I'm not sure the solution to this though! I think the goal is for 3.0 I'll drop the decorator support and not try to export React from the package itself, and TypeScript should automatically work without the magic of index.ts that exists today. Until then, getting the current definitions to work in a backwards compatible way is ideal. :)