interface FileLike {
    name: string;
    type: string;
    size: number;
    lastModified: number;
    stream(): AsyncIterable<Uint8Array, any, any>;
    [toStringTag]: string;
}

Properties

name: string

Name of the file referenced by the File object.

type: string

Returns the media type (MIME) of the file represented by a File object.

size: number

Size of the file parts in bytes

lastModified: number

The last modified date of the file as the number of milliseconds since the Unix epoch (January 1, 1970 at midnight). Files without a known last modified date return the current date.

[toStringTag]: string

Methods