Quentin Churet

Results 7 comments of Quentin Churet

Yep I had the same problem on my project. It's because the breakpoint type is not good. If you change your node modules types to : ``` interface CarouselBreakpoint {...

I just created a PR on DefinitelyTyped : https://github.com/DefinitelyTyped/DefinitelyTyped/pull/55862 - I'm kinda of new to this but I think I did it the right way. Maybe if you can upvote...

My PR has been merged ! You should be able to use breakpoints now ;) You just need to upgrade your @types/brainhubeu__react-carousel, and I think we can close this issue...

Hey jbrainz :) I recently modified the Typescript definition for breakpoints - you should upgrade your types package, it should work now :)

ah sorry I thought that I added the vitest version. Vitest -> 0.34.2 I added the import statement in the vitest.setup.ts file (that is pointed from my vite.config.ts like this)...

So it does work by adding the setup file in the tsconfig.json, but only if I stay with the original configuration `test/vitest.setup.ts` ```ts import '@testing-library/jest-dom'; ``` If I add /vitest...

Thanks @andres-lowrie for your issue, I'm also very interested by this problem. I've started to look at the compiler.ts file in order to understand where js variables were resolved. I...