From 7ec1fc281b83a1e50695881711d6674254a52e47 Mon Sep 17 00:00:00 2001 From: Lei Date: Fri, 5 Jul 2024 21:45:35 +0800 Subject: [PATCH] fix typo incorrect (#1068) --- example/src/util/errors.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/src/util/errors.ts b/example/src/util/errors.ts index aa709fba6..5a86f2c68 100644 --- a/example/src/util/errors.ts +++ b/example/src/util/errors.ts @@ -8,7 +8,7 @@ export type AuthenticationErrors = export type UserApiErrors = 'InvalidUser' | 'UserNotFound' -export type SignInMethodApiErros = +export type SignInMethodApiErrors = | 'InvalidSignInMethod' | 'UserAlreadyHasSignInMethod' | 'PasswordTooWeak' @@ -21,7 +21,7 @@ export type ErrorCode = | 'UnknownError' | AuthenticationErrors | UserApiErrors - | SignInMethodApiErros + | SignInMethodApiErrors export type ErrorStatus = 400 | 401 | 403 | 404 | 409 | 500