This repository has been archived by the owner on Feb 14, 2023. It is now read-only.
Remove Component and PureComponent from interface ReactN #89
Labels
help wanted
The owner cannot resolve this on their own.
In
src/index.ts
, the ReactN interface should not haveComponent
andPureComponent
defined, as these are defined in thenamespace
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?)
The text was updated successfully, but these errors were encountered: