happy-dom
Version:
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
15 lines (13 loc) • 334 B
text/typescript
import type { ReadableStream } from 'stream/web';
import type { URLSearchParams } from 'url';
import type FormData from '../../form-data/FormData.js';
import type Blob from '../../file/Blob.js';
export type TResponseBody =
| ArrayBuffer
| ArrayBufferView
| ReadableStream
| string
| URLSearchParams
| Blob
| FormData
| null;