Skip to content

Commit

Permalink
fix(types): make signup data argument optional (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
erezrokah authored Sep 7, 2020
1 parent d39e1e5 commit d1565a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ declare class GoTrue {
recover(token: string, remember?: boolean): Promise<User>;
requestPasswordRecovery(email: string): Promise<void>;
settings(): Promise<Settings>;
signup(email: string, password: string, data: any): Promise<User>;
signup(email: string, password: string, data?: any): Promise<User>;
verify(type: string, token: string, remember?: boolean): Promise<User>;
}

Expand Down

0 comments on commit d1565a7

Please sign in to comment.