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 suggest just reordering the useQuery function declarations and specifying that DefinedInitialDataOptions is higher order than UnDefinedInitialDataOptions in the options declaration.
I suggest just reordering the useQuery function declarations and specifying that DefinedInitialDataOptions is higher order than UnDefinedInitialDataOptions in the options declaration.
Describe the bug
When I use the useQuery hook and provide it with initialData, the autocomplete feature doesn't work.
Your minimal, reproducible example
https://www.typescriptlang.org/ko/play?#code/JYWwDg9gTgLgBAbzgVwM4FMCKz1QJ5wC+cAZlBCHAOQACMAhgHaoMDGA1gPRTr2swBaAI458VANwAoScEYxcJPujgAVALJ4AIvQaJJcOABMd9VAC49Bg8EMXGyEACNcUg4SmFprCM3hp0AKIAHvTgADZYogQAvHAAFACUcNEAfJZw3r6IRiYW6CHh6Nq6xLH+2Lh4ADzqWiYpcQj6ViKVANLoeBYA2lQgeALsnVQAugA0zQat+ABijBaJyWmNk1bGDObZNhYAjEQTVkQJB1aywDDA9GHF9BZNhwbrpnerh9twOwBMJ4eEP-vNQgJKTNHgwZBQRhwfKhMARG4eEH5SCwIzoRTIMJ+DDBWERCr4KRAA
Steps to reproduce
Expected behavior
it should be auto-completed.
How often does this bug happen?
Every time
Screenshots or Videos
Platform
Tanstack Query adapter
react-query
TanStack Query version
^5.18.1
TypeScript version
5.3.3
Additional context
I suggest just reordering the useQuery function declarations and specifying that DefinedInitialDataOptions is higher order than UnDefinedInitialDataOptions in the options declaration.
like this
The text was updated successfully, but these errors were encountered: