Skip to content

Make RequestInit method typesafe #2506

Description

@GustavoOS

Currently, if you use something like fetch(url, {method: "foo"}) there is no type error, despite "foo" not being a proper Http verb.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions