enable type declarations

This commit is contained in:
Jonas Kruckenberg
2022-12-18 17:05:10 +01:00
parent 093001d876
commit 063a3cfd54
12 changed files with 579 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
type ProgressHandler = (progress: number, total: number) => void;
export default function upload(url: string, filePath: string, progressHandler?: ProgressHandler, headers?: Map<string, string>): Promise<void>;
export {};