Skip to content

fix(docs): typos in types.ts #1003

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 26, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/runtime/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ export interface ModuleOptions {
/**
* Configuration of the authentication provider. Different providers are supported:
* - auth.js: OAuth focused provider for non-static Nuxt 3 applications
* - local: Provider for credentials & token based backends, e.g., written by yourself or provided by something like Laraval
* - local: Provider for credentials & token based backends, e.g., written by yourself or provided by something like Laravel
*
* Find more about supported providers here: https://sidebase.io/nuxt-auth/v0.6/getting-started
*
Expand Down Expand Up @@ -610,7 +610,7 @@ export type GetSessionOptions = Partial<{
force?: boolean
}>

// TODO: These types could be nicer and more general, or located withing `useAuth` files and more specific
// TODO: These types could be nicer and more general, or located within `useAuth` files and more specific
export type SignOutFunc = (options?: SignOutOptions) => Promise<any>
export type SignInFunc<PrimarySignInOptions, SignInResult> = (
primaryOptions: PrimarySignInOptions,
Expand Down