mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-08 09:17:06 +08:00
Added missing methods to Parse.Object
This commit is contained in:
2
types/parse/index.d.ts
vendored
2
types/parse/index.d.ts
vendored
@@ -357,6 +357,7 @@ declare namespace Parse {
|
||||
has(attr: string): boolean;
|
||||
hasChanged(attr: string): boolean;
|
||||
increment(attr: string, amount?: number): any;
|
||||
isNew(): boolean;
|
||||
isValid(): boolean;
|
||||
op(attr: string): any;
|
||||
previous(attr: string): any;
|
||||
@@ -367,6 +368,7 @@ declare namespace Parse {
|
||||
save(key: string, value: any, options?: Object.SaveOptions): Promise<this>;
|
||||
set(key: string, value: any, options?: Object.SetOptions): boolean;
|
||||
setACL(acl: ACL, options?: SuccessFailureOptions): boolean;
|
||||
toPointer(): any;
|
||||
unset(attr: string, options?: any): any;
|
||||
validate(attrs: any, options?: SuccessFailureOptions): boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user