Bug? Unable to narrow the discriminated union type for vue-query
Failed to narrow the
data type from a discriminated union when using vue-query
A minimal example below
Got this type error:
Was planning to create a github issue but since I'm new to vue-query (coming from react-query), I'd like to ask before opening one.1 Reply
absent-sapphireOP•3y ago
Using it in the template:
Got: