Skip to content

Commit

Permalink
extend nuxt3 interface
Browse files Browse the repository at this point in the history
  • Loading branch information
imlautaro committed Oct 15, 2021
1 parent 8b2a316 commit 48f8031
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ declare module '#app' {
}
}

declare module 'nuxt3' {
interface NuxtApp {
$supabase: SupabaseClient
$supaAuth: SupabaseAuthClient
$supaStorage: SupabaseStorageClient
}
}

declare module '@nuxt/types' {
interface Context {
$supabase: SupabaseClient
Expand Down

0 comments on commit 48f8031

Please sign in to comment.