Skip to content
This repository was archived by the owner on Sep 21, 2023. It is now read-only.

Commit 7db5b96

Browse files
authored
Fix typo in typescript types #415 (#416)
1 parent a23aa35 commit 7db5b96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export interface GoogleLoginProps {
7575
readonly onSuccess?: (response: GoogleLoginResponse | GoogleLoginResponseOffline) => void,
7676
readonly onAutoLoadFinished?: (successLogin: boolean) => void,
7777
readonly onFailure?: (error: any) => void,
78-
readonly onSciptLoadFailure?: (error: any) => void,
78+
readonly onScriptLoadFailure?: (error: any) => void,
7979
readonly onRequest?: () => void,
8080
readonly clientId: string,
8181
readonly jsSrc?: string,
@@ -159,7 +159,7 @@ export interface UseGoogleLoginResponse {
159159
export interface UseGoogleLoginProps {
160160
readonly onSuccess?: (response: GoogleLoginResponse | GoogleLoginResponseOffline) => void,
161161
readonly onFailure?: (error: any) => void,
162-
readonly onSciptLoadFailure?: (error: any) => void,
162+
readonly onScriptLoadFailure?: (error: any) => void,
163163
readonly onAutoLoadFinished?: (successLogin: boolean) => void,
164164
readonly clientId: string,
165165
readonly jsSrc?: string,

0 commit comments

Comments
 (0)