Skip to content

lib.d.ts - XMLHttpRequest - send #3002

Closed
@janousek

Description

@janousek

Current definition allows only string and Document argument. But it should allows BodyInit defined as:
typedef (Blob or BufferSource or FormData or URLSearchParams or USVString) BodyInit;

https://fetch.spec.whatwg.org/#bodyinit
https://xhr.spec.whatwg.org/#the-send()-method

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions