Update ParseObject interface by adding revert() method

This commit is contained in:
Perceval Archimbaud
2018-02-20 16:41:56 +01:00
committed by GitHub
parent 070eb128b8
commit 7bfb5873fc
+1
View File
@@ -377,6 +377,7 @@ declare namespace Parse {
previousAttributes(): any;
relation(attr: string): Relation<this, Object>;
remove(attr: string, item: any): any;
revert(): void;
save(attrs?: { [key: string]: any } | null, options?: Object.SaveOptions): Promise<this>;
save(key: string, value: any, options?: Object.SaveOptions): Promise<this>;
save(attrs: object, options?: Object.SaveOptions): Promise<this>;