ValentinH / react-easy-sort

A React component to sort items in lists or grids
https://ValentinH.github.io/react-easy-sort
MIT License
160 stars 25 forks source link

Typescript 4.4 complains about missing module @emotion/core in index.d.ts #23

Closed gitter-me closed 2 years ago

gitter-me commented 2 years ago

Describe the bug Typescript 4.4 complains about missing module @emotion/core in index.d.ts

To Reproduce yarn add react-easy-sort tsc --watch --noEmit

node_modules/react-easy-sort/index.d.ts:270:18 - error TS2307: Cannot find module '@emotion/core' or its corresponding type declarations.

270 css?: import("@emotion/core").InterpolationWithTheme;

Expected behavior No error from tsc

I'm still puzzled how this happens, since I don't find a reference to emotion in the repo here?

ValentinH commented 2 years ago

I just tried installing the latest version and I confirm there is an issue. I'll try to have a look quickly.

ValentinH commented 2 years ago

The fix was published in v1.3.3