lukemorales / query-key-factory

A library for creating typesafe standardized query keys, useful for cache management in @tanstack/query
https://www.npmjs.com/package/@lukemorales/query-key-factory
MIT License
1.16k stars 32 forks source link

fix: repair conflicting types #46

Closed lukemorales closed 1 year ago

lukemorales commented 1 year ago

This PR fixes some type declarations that were causing conflicts and improves support by extending object instead of Record, allowing types like vue's Ref to be accepted.

Fixes #42 Fixes #43

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: e15edda6f75f6e9e46d1a2c14e4588f9be990eec

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------------------------ | ----- | | @lukemorales/query-key-factory | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR