Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

Remove Component and PureComponent from interface ReactN #89

@quisido

Description

@quisido

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?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedThe owner cannot resolve this on their own.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions