how to pass queryOptions as parameters?
I got an error when trying to pass queryOptions as parameters, how can I resolve this?
https://www.typescriptlang.org/play/?ssl=16&ssc=78&pln=1&pc=1#code/JYWwDg9gTgLgBAbzgRwK4FMoE8DyYbAQB2AzgDRyonoCKG2FMWY6cAqtXZrvoaXAF84AMygQQcAOQABGAENS8gMYBrAPRR0cpTAC0abpIDcAKBPDURHXzgBzdDABCWAJIATAApi3qHQBVmdDwCYhIACmA3AC44EhgoYCJbAEpEEzg4TRhUKCIUeh4Q0jCEdIz87gAxIhiw1IBeAD44L3FgagA6TRIIABsAN3QwyW6+wbdJZLIyjINsAGl0LBiAbUkwb189JhZJCkiAXWmMgWTTATMLKyLKagBlB0roEAA1OV6MEgBBEiwrAB4-E8oCAAixGmFqDA3h90CQABIKNy9TC1frvT4xIHPMHoBrNfoQSIUObLdicArBPgkQHA0GBRqpUoZJSheBINxyeSCOD1W60AphUnJMrAYRwMKc+SpKEwz6IojIzCSrlyEUXEysxRwDYQHz+QLuXlSACMkhMVHQDxgdLlcJ+fyUYTCMDhMHxiAEFHsTlcnk2BpYVNCYV1+pguPcyWSQA
TS Playground - An online editor for exploring TypeScript and JavaS...
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.
6 Replies
conscious-sapphire•16mo ago
I wouldn't do this
but
UseQueryOptions
needs more type parametersconscious-sapphire•16mo ago
TS Playground - An online editor for exploring TypeScript and JavaS...
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.
conscious-sapphire•16mo ago
TS Playground - An online editor for exploring TypeScript and JavaS...
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.
foreign-sapphireOP•16mo ago
oh
thanks
but if it's in vue-query?
foreign-sapphireOP•16mo ago
TS Playground - An online editor for exploring TypeScript and JavaS...
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.
conscious-sapphire•16mo ago
sorry, don' tknow