Skip to content

Commit b1830a3

Browse files
committed
refactor: use firebase types directly
1 parent 8424077 commit b1830a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/nuxt/src/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
defineNuxtModule,
1010
} from '@nuxt/kit'
1111
// cannot import from firebase/app because the build fails, maybe a nuxt bug?
12-
import type { FirebaseApp, FirebaseOptions } from '@firebase/app-types'
12+
import type { FirebaseApp, FirebaseOptions } from 'firebase/app'
1313
import type { App as FirebaseAdminApp } from 'firebase-admin/app'
1414
import { markRaw } from 'vue'
1515
import { consola } from 'consola'

packages/nuxt/src/module/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { FirebaseOptions } from '@firebase/app-types'
1+
import type { FirebaseOptions } from 'firebase/app'
22
import type { AppOptions, ServiceAccount } from 'firebase-admin'
33
import type { NuxtVueFireAppCheckOptions } from '../runtime/app-check'
44

0 commit comments

Comments
 (0)