From 05f1b547e3381eceebaf23cd8716e2701a3a6295 Mon Sep 17 00:00:00 2001 From: Mau Ha Quang Date: Fri, 27 Mar 2020 01:35:05 +0900 Subject: [PATCH] Fix AuthClass document typos (#5066) * fix authclass document typo * fix authclass document typos * fix ts typos --- docs/api/classes/authclass.html | 4 ++-- packages/auth/src/Auth.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/api/classes/authclass.html b/docs/api/classes/authclass.html index 9215e832d5a..f0817a794ed 100644 --- a/docs/api/classes/authclass.html +++ b/docs/api/classes/authclass.html @@ -2101,7 +2101,7 @@

signUp

-

Sign up with username, password and other attrbutes like phone, email

+

Sign up with username, password and other attributes like phone, email

Parameters

@@ -2109,7 +2109,7 @@

Parameters

  • params: string | SignUpParams
    -

    The user attirbutes used for signin

    +

    The user attributes used for signin

  • diff --git a/packages/auth/src/Auth.ts b/packages/auth/src/Auth.ts index 9063daac808..20c5aade999 100644 --- a/packages/auth/src/Auth.ts +++ b/packages/auth/src/Auth.ts @@ -247,8 +247,8 @@ export default class AuthClass { } /** - * Sign up with username, password and other attrbutes like phone, email - * @param {String | object} params - The user attirbutes used for signin + * Sign up with username, password and other attributes like phone, email + * @param {String | object} params - The user attributes used for signin * @param {String[]} restOfAttrs - for the backward compatability * @return - A promise resolves callback data if success */