Skip to content

Are types no longer included? #427

@bopfer

Description

@bopfer

After updating to v4, my imports are not working:

import Draggable from 'react-draggable';
Could not find a declaration file for module 'react-draggable'.
'node_modules/react-draggable/index.js' implicitly has an 'any' type.
  Try `npm install @types/react-draggable` if it exists or add a new declaration
(.d.ts) file containing `declare module 'react-draggable';`ts(7016)

I don't see a @types/react-draggable package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions