react-draggable icon indicating copy to clipboard operation
react-draggable copied to clipboard

Missing peerDependency `@types/react`

Open Aghassi opened this issue 3 months ago • 0 comments

https://github.com/react-grid-layout/react-draggable/blob/2c3aa84352ca8eaed42a9ac0b59a1187e7850b6a/package.json#L99

Under pnpm this package will not have @types/react when type checking is used. It should specify it as a peer dependency as it is assumed to be needed. We needed to use .pnpmfile.cjs to fix this on our end.

Aghassi avatar Mar 19 '24 23:03 Aghassi