You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just found this library and I am liking the concepts very much. I am starting to use it on an new project. Thank you very much for your work.
I found this typescript problem when using it for SSR, I would submit a PR (I tried a few things but with no success), but I don't know how to solve this.
Describe the bug
When importing 'react-query/hydration' on a typescript project I am getting back this error...
Could not find a declaration file for module 'react-query/hydration'. '/Users/Igor/work/liquality/tliquality/node_modules/react-query/hydration.js' implicitly has an 'any' type.
Try `npm install @types/react-query` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-query/hydration';`
To Reproduce
Steps to reproduce the behavior:
Create a typescript project
import 'react-query/hydration'
Expected behavior
Typescript should recognized the types from react-query/hydration
Desktop (please complete the following information):
OS: OSX
Additional context
Not sure if it matters, but I am using it in a NextJS project.
The text was updated successfully, but these errors were encountered:
Hey, @tannerlinsley
I just found this library and I am liking the concepts very much. I am starting to use it on an new project. Thank you very much for your work.
I found this typescript problem when using it for SSR, I would submit a PR (I tried a few things but with no success), but I don't know how to solve this.
Describe the bug
When importing 'react-query/hydration' on a typescript project I am getting back this error...
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Typescript should recognized the types from react-query/hydration
Desktop (please complete the following information):
Additional context
Not sure if it matters, but I am using it in a NextJS project.
The text was updated successfully, but these errors were encountered: