Skip to content

Adding generic types to useQueries #80

@voxivoid

Description

@voxivoid

Would it be possible to allow passing generic types to UseQueryOptions and UseQueryResult from useQueries? Not allowing this causes it to be defaulted to unknown which means that we will not have the results typed.

https://github.com/DamianOsipiuk/vue-query/blob/main/src/vue/useQueries.ts#L10-L11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions