Skip to content

Commit

Permalink
chore: update type
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Nov 7, 2023
1 parent b3e92c8 commit 4d82aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/composables/session.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState, computed, useRequestFetch } from '#imports'
import type { UserSession } from '#auth-utils-session'

const useSessionState = () => useState<UserSession | Record<string, unknown>>('nuxt-session', () => ({}))
const useSessionState = () => useState<UserSession>('nuxt-session', () => ({}))

export const useUserSession = () => {
const sessionState = useSessionState()
Expand Down

0 comments on commit 4d82aa8

Please sign in to comment.