Make attrs argument optional (#34184)

According to official doc usage (http://docs.parseplatform.org/js/guide/#signing-up). `attrs` here should be optional.
This commit is contained in:
Dizy
2019-03-25 13:46:42 -07:00
committed by Ron Buckton
parent 8d45b2e1be
commit ffcf912cfa
+1 -1
View File
@@ -691,7 +691,7 @@ subscription.on('close', () => {});
static extend(protoProps?: any, classProps?: any): any;
static hydrate(userJSON: any): Promise<User>;
signUp(attrs: any, options?: SignUpOptions): Promise<this>;
signUp(attrs?: any, options?: SignUpOptions): Promise<this>;
logIn(options?: SuccessFailureOptions): Promise<this>;
authenticated(): boolean;
isCurrent(): boolean;