UNPKG

comic-plus

Version:

<p align="center"> <img width="200px" src="./logo.png"/> </p>

32 lines (30 loc) 663 B
import { default as UploadInstance } from '../utils/upload'; export { UploadInstance }; export type UploadFile = { name: string; url: string; uid?: number; [key: string]: any; }; export type FileEnum = { [key: number]: UploadInstance; } & UploadInstance; export type Fileoption = { file: File; data?: object; headers?: object; http?: string | Function; withCredentials?: boolean; status: string; name: string; url: string; uid?: number; success?: Function; fail?: Function; complate?: Function; }; export type UploadError = { status: number; method: string; url: string; } & Error;