deguodaigou/utils/dist/uploader/utils.d.ts
2019-12-23 14:13:27 +08:00

13 lines
285 B
TypeScript

interface File {
path: string;
url: string;
size: number;
name: string;
type: string;
time: number;
image: boolean;
}
export declare function isImageUrl(url: string): boolean;
export declare function isImageFile(item: File): boolean;
export {};