Skip to content

Commit f6d87dc

Browse files
committed
refactor: add type imports
1 parent 1552964 commit f6d87dc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/nuxt/src/runtime/app/plugin.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { deleteApp, FirebaseApp, initializeApp } from 'firebase/app'
2-
import { User } from 'firebase/auth'
2+
import type { User } from 'firebase/auth'
33
import LRU from 'lru-cache'
44
import { log } from '../logging'
55
import { UserSymbol } from '../constants'

src/auth/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { FirebaseApp } from 'firebase/app'
2-
import { getAuth, User } from 'firebase/auth'
2+
import { getAuth, type User } from 'firebase/auth'
33
import { App, ref } from 'vue-demi'
44
import { useFirebaseApp } from '../app'
55
import { getGlobalScope } from '../globals'

src/auth/user.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import type { FirebaseApp } from 'firebase/app'
22
import {
33
getAuth,
44
onIdTokenChanged,
5-
User,
5+
type User,
66
updateEmail,
77
updateProfile,
88
reauthenticateWithCredential,
9-
AuthCredential,
9+
type AuthCredential,
1010
} from 'firebase/auth'
1111
import { computed, Ref } from 'vue-demi'
1212
import { useFirebaseApp } from '../app'

0 commit comments

Comments
 (0)