Skip to content

Incomplete typings for UseMutationReturn on @vue/apollo-composable #921

Open
@victorgarciaesgi

Description

@victorgarciaesgi

Versions
apollo-composable: 4.0.0-alpha.6

In useMutation.d.ts the return type of the function mutate is actually

Promise<FetchResult<any, Record<string, any>, Record<string, any>>>;

I should be fixed with TResult

Promise<FetchResult<TResult, Record<string, any>, Record<string, any>>>;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions