Skip to content

Fix OperationParams typing #5

@yordis

Description

@yordis

Steps to Reproduce

export declare type OperationParams<Path = unknown, Query = unknown, Body = unknown> = {
    path?: Path;
    query?: Query;
    body?: Body;
    options?: {
        signal?: AbortSignal;
    };
};

Remove the `?` and pass `TPath` as `TPath = any | undefined` instead, same for query and body.

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