UNPKG

@i-xi-dev/base64

Version:

A JavaScript Base64 encoder and decoder, implements Forgiving base64 defined in WHATWG Infra Standard.

22 lines (21 loc) 844 B
/** * If the `globalThis` has a [`WritableStream`](https://developer.mozilla.org/en-US/docs/Web/API/WritableStream), or if the `node:stream/web` package has a `WritableStream`, then the `WritableStream` constructor. * Otherwise referencing it will throw a `ReferenceError`. * * - Browser * References the `globalThis.WritableStream` * * - Deno * References the `globalThis.WritableStream` * * - Node.js 18.0+ * References the `globalThis.WritableStream` * * - Node.js 15.7+ or 14.18+ * References the [`WritableStream`](https://nodejs.org/api/webstreams.html#class-writablestream) of `node:stream/web` package */ declare let _WritableStream: { prototype: WritableStream; new <T>(underlyingSink?: UnderlyingSink<T> | undefined, strategy?: QueuingStrategy<T> | undefined): WritableStream<T>; }; export { _WritableStream };