Skip to content

Commit

Permalink
fix(types): augment vue rather than @vue/runtime-core (#1565)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Aug 16, 2024
1 parent 9e11512 commit ad462bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/nuxt/src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ declare module '#app' {
$firebaseAdminApp: FirebaseAdminApp
}
}
declare module '@vue/runtime-core' {
declare module 'vue' {
interface ComponentCustomProperties {
/**
* Firebase App instance.
Expand Down
2 changes: 1 addition & 1 deletion src/database/optionsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export function VueFireDatabaseOptionsAPI(

type Mutable<T> = { -readonly [P in keyof T]: T[P] }

declare module '@vue/runtime-core' {
declare module 'vue' {
export interface ComponentCustomProperties {
/**
* Binds a reference
Expand Down
2 changes: 1 addition & 1 deletion src/firestore/optionsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export function VueFireFirestoreOptionsAPI(
}
}

declare module '@vue/runtime-core' {
declare module 'vue' {
export interface ComponentCustomProperties {
/**
* Binds a reference
Expand Down

0 comments on commit ad462bd

Please sign in to comment.