Skip to content

Error after updating in Typescript project #358

Open
@mats68

Description

@mats68

After updating to the new version 2.2.0 in a Typescript project, I get error:

" ...node_modules/react-dnd/lib/DragDropContext.d.ts..." Module ..node_modules/@types/react/index"' has no default export.

Steps to reproduce:
Create app with

  1. create-react-app my-app --scripts-version=react-scripts-ts
  2. yarn add react-sortable-tree

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions