Skip to content

Commit

Permalink
fix: auth config stub to export Authenticators
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Sep 9, 2024
1 parent b102f5c commit d15e72f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/auth/stubs/config/access_tokens_with_lucid.stub
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default authConfig
* guards.
*/
declare module '@adonisjs/auth/types' {
interface Authenticators extends InferAuthenticators<typeof authConfig> {}
export interface Authenticators extends InferAuthenticators<typeof authConfig> {}
}
declare module '@adonisjs/core/types' {
interface EventsList extends InferAuthEvents<Authenticators> {}
Expand Down
2 changes: 1 addition & 1 deletion src/auth/stubs/config/basic_auth_with_lucid.stub
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default authConfig
* guards.
*/
declare module '@adonisjs/auth/types' {
interface Authenticators extends InferAuthenticators<typeof authConfig> {}
export interface Authenticators extends InferAuthenticators<typeof authConfig> {}
}
declare module '@adonisjs/core/types' {
interface EventsList extends InferAuthEvents<Authenticators> {}
Expand Down
2 changes: 1 addition & 1 deletion src/auth/stubs/config/session_with_lucid.stub
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default authConfig
* guards.
*/
declare module '@adonisjs/auth/types' {
interface Authenticators extends InferAuthenticators<typeof authConfig> {}
export interface Authenticators extends InferAuthenticators<typeof authConfig> {}
}
declare module '@adonisjs/core/types' {
interface EventsList extends InferAuthEvents<Authenticators> {}
Expand Down

0 comments on commit d15e72f

Please sign in to comment.