utils.d.ts 273 B

123456789101112
  1. interface File {
  2. path: string;
  3. url: string;
  4. size: number;
  5. name: string;
  6. type: string;
  7. time: number;
  8. image: boolean;
  9. }
  10. export declare function isImageUrl(url: string): boolean;
  11. export declare function isImageFile(item: File): boolean;
  12. export {};