filestash/public/assets/pages/filespage/ctrl_upload.d.ts
2024-11-30 15:08:35 +11:00

19 lines
No EOL
402 B
TypeScript

interface HttpContext {
xhr: XMLHttpRequest;
}
declare function executeHttp(
this: HttpContext,
url: string,
options: {
method: string;
headers: Record<string, string>;
body: any;
progress: (event: ProgressEvent) => void;
speed: (event: ProgressEvent) => void;
}
): Promise<any>;
export function init();
export default function(any): void;