13 lines
273 B
TypeScript
13 lines
273 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 {};
|