Skip to content

Commit 8cbf38c

Browse files
committed
fix(ts): correctly type Auth overload
1 parent f08f27f commit 8cbf38c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export { skipCSRFCheck, raw, setEnvDefaults, createActionURL, isAuthAction }
6161

6262
export async function Auth(
6363
request: Request,
64-
config: AuthConfig
64+
config: AuthConfig & { raw: typeof raw }
6565
): Promise<ResponseInternal>
6666

6767
export async function Auth(
@@ -425,7 +425,7 @@ export interface AuthConfig {
425425
experimental?: {
426426
/**
427427
* Enable WebAuthn support.
428-
*
428+
*
429429
* @default false
430430
*/
431431
enableWebAuthn?: boolean

0 commit comments

Comments
 (0)