Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

useMution return type not working with typescript (5.2.2)  #282

Copy link
Copy link
@Falc0njsx

Description

@Falc0njsx
Issue body actions

I am using vue-query and trying to create a hook to make a normal mutation but the return type of useMutation is not correct like the previous versions of typescript

(alias) useMutation<ICreatePasswordlessUser, unknown, ICreateUser, unknown>(mutationKey: MutationKey, mutationFn?: MutationFunction<ICreateUser, ICreateUser> | undefined, options?: Omit<...> | undefined): any (+3 overloads)

its returning : any (+3 overloads)

typescript : 5.2.2
vue-query : 1.26.0

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.