You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
InternshipProject/node_modules/rc-upload/es/traverseFileTree.d.ts

15 lines
478 B

import type { RcFile } from './interface';
interface InternalDataTransferItem extends DataTransferItem {
isFile: boolean;
file: (cd: (file: RcFile & {
webkitRelativePath?: string;
}) => void) => void;
createReader: () => any;
fullPath: string;
isDirectory: boolean;
name: string;
path: string;
}
declare const traverseFileTree: (files: InternalDataTransferItem[], callback: any, isAccepted: any) => void;
export default traverseFileTree;