enable option for progress callback (#38815)

according to those specs https://parseplatform.org/Parse-SDK-JS/api/master/Parse.File.html , there are those options:
Valid options are:
useMasterKey: In Cloud Code and Node only, causes the Master Key to be used for this request.
progress: In Browser only, callback for upload progress
This commit is contained in:
Max Kapshtyk
2019-10-08 01:06:02 +02:00
committed by Armando Aguirre
parent 2388e7ca03
commit 5fa92bc750

View File

@@ -259,7 +259,7 @@ declare namespace Parse {
constructor(name: string, data: any, type?: string);
name(): string;
url(): string;
save(options?: SuccessFailureOptions): Promise<File>;
save(options?: FullOptions): Promise<File>;
}