Skip to content

XMLHttpRequest.send method parameter must be nullable (regression) #24717

@falsandtru

Description

@falsandtru

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

TypeScript Version: master

Search Terms:

Code

Expected behavior:

    send(body?: Document | BodyInit | null): void;

Actual behavior:

    send(body?: Document | BodyInit): void;

Playground Link:

Related Issues:

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions