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

13 lines
273 B
TypeScript
Raw Normal View History

2019-12-14 09:20:48 +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 {};