UNPKG

336 BTypeScriptView Raw
1export declare const COMMON_MIME_TYPES: Map<string, string>;
2export declare function toFileWithPath(file: FileWithPath, path?: string): FileWithPath;
3interface DOMFile extends Blob {
4 readonly lastModified: number;
5 readonly name: string;
6}
7export interface FileWithPath extends DOMFile {
8 readonly path?: string;
9}
10export {};