unenv
Version:
`unenv` is a framework-agnostic system that allows converting JavaScript code to be platform agnostic and work in any environment including Browsers, Workers, Node.js, or JavaScript runtime.
14 lines (13 loc) • 341 B
TypeScript
import type buffer from "node:buffer";
export declare class File extends Blob implements buffer.File {
readonly __unenv__ = true;
size: number;
type: any;
name: string;
lastModified: number;
constructor(...args: any[]);
arrayBuffer(): Promise<ArrayBuffer>;
slice(): any;
text(): any;
stream(): any;
}