UNPKG

@i-xi-dev/base64

Version:

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

23 lines (22 loc) 764 B
type _FileConstructor = { prototype: File; new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File; }; /** * If the `globalThis` has a [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File), or if the `node:buffer` package has a `File`, then the `File` constructor. * Otherwise referencing it will throw a `ReferenceError`. * * - Browser * References the `globalThis.File` * * - Deno * References the `globalThis.File` * * - Node.js 20.0+ * References the [`globalThis.File`](https://nodejs.org/api/globals.html#class-file) * * - Node.js 19.2+ or 18.13+ * References the [`File`](https://nodejs.org/api/buffer.html#class-file) of `node:buffer` package */ declare let _File: _FileConstructor; export { _File };