mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
more fixes
This commit is contained in:
Vendored
+1
-1
@@ -361,7 +361,7 @@ declare namespace Parse {
|
||||
previousAttributes(): any;
|
||||
relation(attr: string): Relation<Object, Object>;
|
||||
remove(attr: string, item: any): any;
|
||||
save(attrs?: { [key: string]: any }, options?: Object.SaveOptions): Promise<Object>;
|
||||
save(attrs?: { [key: string]: any } | null, options?: Object.SaveOptions): Promise<Object>;
|
||||
save(key: string, value: any, options?: Object.SaveOptions): Promise<Object>;
|
||||
set(key: string, value: any, options?: Object.SetOptions): boolean;
|
||||
setACL(acl: ACL, options?: SuccessFailureOptions): boolean;
|
||||
|
||||
@@ -244,8 +244,8 @@ function test_user_acl_roles() {
|
||||
var game = new Game();
|
||||
game.set("score", new GameScore());
|
||||
game.setACL(new Parse.ACL(Parse.User.current()));
|
||||
game.save().then((game: Game) => {
|
||||
});
|
||||
game.save().then((game: Game) => {});
|
||||
game.save(null, { useMasterKey: true });
|
||||
|
||||
var groupACL = new Parse.ACL();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user