Skip to content

Commit

Permalink
fix(ts): SignInAuthorisationParams -> SignInAuthorizationParams (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ANTARES-KOR committed Feb 25, 2022
1 parent bc40165 commit 0a267d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/next-auth/src/react/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import type {
ClientSafeProvider,
LiteralUnion,
SessionProviderProps,
SignInAuthorisationParams,
SignInAuthorizationParams,
SignInOptions,
SignInResponse,
SignOutParams,
Expand Down Expand Up @@ -177,7 +177,7 @@ export async function signIn<
>(
provider?: LiteralUnion<BuiltInProviderType>,
options?: SignInOptions,
authorizationParams?: SignInAuthorisationParams
authorizationParams?: SignInAuthorizationParams
): Promise<
P extends RedirectableProviderType ? SignInResponse | undefined : undefined
> {
Expand Down
2 changes: 1 addition & 1 deletion packages/next-auth/src/react/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export interface SignInResponse {
}

/** Match `inputType` of `new URLSearchParams(inputType)` */
export type SignInAuthorisationParams =
export type SignInAuthorizationParams =
| string
| string[][]
| Record<string, string>
Expand Down

0 comments on commit 0a267d9

Please sign in to comment.