From ffcf912cfaf9e4c5db03e7a50cdd400b867d3167 Mon Sep 17 00:00:00 2001 From: Dizy Date: Tue, 26 Mar 2019 04:46:42 +0800 Subject: [PATCH] Make attrs argument optional (#34184) According to official doc usage (http://docs.parseplatform.org/js/guide/#signing-up). `attrs` here should be optional. --- types/parse/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/parse/index.d.ts b/types/parse/index.d.ts index ba3d546ca5..17809552d4 100644 --- a/types/parse/index.d.ts +++ b/types/parse/index.d.ts @@ -691,7 +691,7 @@ subscription.on('close', () => {}); static extend(protoProps?: any, classProps?: any): any; static hydrate(userJSON: any): Promise; - signUp(attrs: any, options?: SignUpOptions): Promise; + signUp(attrs?: any, options?: SignUpOptions): Promise; logIn(options?: SuccessFailureOptions): Promise; authenticated(): boolean; isCurrent(): boolean;