mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-27 10:42:36 +01:00
fix (build): ts fix
This commit is contained in:
parent
487895abee
commit
a72925c5d8
1 changed files with 19 additions and 0 deletions
19
public/assets/pages/filespage/ctrl_upload.d.ts
vendored
Normal file
19
public/assets/pages/filespage/ctrl_upload.d.ts
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
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;
|
||||
Loading…
Reference in a new issue