paulcollett / react-masonry-css

React Masonry layout component powered by CSS, dependancy free
https://paulcollett.github.io/react-masonry-css/demo/
MIT License
961 stars 66 forks source link

Latest version of TypeScript causing errors #87

Open TomSmedley opened 2 years ago

TomSmedley commented 2 years ago

Hello,

Thank you for putting in so much effort into React Masonry, it's one of the best components I've worked with.

Recently after updating my project, I'm getting a TypeScript error: image

It doesn't stop the app from working, though it's never nice seeing the error symbol in your IDE.

JaredPage commented 1 year ago

Yep I am also experiencing this. Tried a few things like preseveSymlinks and type -> react+jsx in tsconfig.json to no avail. It seems it's just on TS >= v18.