deguodaigou/utils/dist/uploader/utils.d.ts

13 lines
285 B
TypeScript
Raw Normal View History

2019-12-23 14:13:27 +08:00
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 {};