Skip to content

TS types lost when using the post method #70

@cermakjiri

Description

@cermakjiri
       const { data } = yield* authApi.post<RequestBody>(apiPath, payload);
    // `data` are type of `any`, but should `RequestBody` instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions