fix (build): ts fix

This commit is contained in:
MickaelK 2024-11-30 15:08:35 +11:00
parent 487895abee
commit a72925c5d8

View 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;