upload.d.ts 292 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 interface uploadInit { clickInit?: MouseEventInit; changeInit?: EventInit; } interface uploadOptions { applyAccept?: boolean; } declare function upload(element: HTMLElement, fileOrFiles: File | File[], init?: uploadInit, { applyAccept }?: uploadOptions): void; export { upload };