Results 63 comments of Benjamin

@HarshAggarwals you have the same issues with a boolean: "parallel" is written in the property name so you still need to remember it. And you can make typos in the...

This seems to be a bug indeed! Thanks for the report 🙏 This is because the type is handled via `@media …` and not within `(min-width: …)`. So it's not...

Actually, `@media` is not supported by `matchMedia`, so this library shouldn't support it: (this was done in chrome btw)

I tested it, and https://github.com/Ayc0/mock-match-media/pull/35 fixes this issue. Will add tests later to ensure no regressions

I published to npm the version [v1.0.0-alpha.1](https://github.com/Ayc0/mock-match-media/releases/tag/v1.0.0-alpha.1). Feel free to give it a try!

@andersondanilo can you check this PR or its sibling one?

This doesn't work nicely with a few libraries like react-query because symbols are not properly serialized. So https://github.com/andersondanilo/jsonapi-fractal/pull/147 should be a better approach

@clemyan I indeed have @ts-nocheck in it, but it's required by another file that is included in the TS project To fix this, we added .pnp.cjs to the exclude of...