From d1eb2edcbdf6e7b92c843b4bcacd6469449e3be1 Mon Sep 17 00:00:00 2001 From: Cedric Kemp Date: Fri, 3 Nov 2017 14:08:14 -0400 Subject: [PATCH] Added missing methods to Parse.Object --- types/parse/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/parse/index.d.ts b/types/parse/index.d.ts index 82194e65a2..6356a941cc 100644 --- a/types/parse/index.d.ts +++ b/types/parse/index.d.ts @@ -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; 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; }