Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update types in types/index.d.ts #869

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Commits on Feb 15, 2023

  1. Update types in types/index.d.ts

    React.StatelessComponent has been removed from the react types (see https://stackoverflow.com/questions/44375759/how-should-i-declare-a-stateless-functional-component-with-typescript-in-react)
    
    The current types trigger an error:
    ```
    node_modules/react-sortable-hoc/types/index.d.ts:108:11 - error TS2694: Namespace 'React' has no exported member 'SFC'.
    
    108   | React.SFC<P>
    ```
    hpello committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    464d3ad View commit details
    Browse the repository at this point in the history