Skip to content

Commit 28f0e40

Browse files
committed
chore(demo): fix types
1 parent ea29eac commit 28f0e40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

demo/pages/tasks.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { Database } from '~~/types/database.types'
2+
import type { Database } from '~~/types/database.types'
33
44
const client = useSupabaseClient<Database>()
55
const user = useSupabaseUser()

demo/server/api/tasks.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createError } from 'h3'
2-
import { Database } from '~~/types/database.types'
2+
import type { Database } from '~~/types/database.types'
33
import { serverSupabaseUser, serverSupabaseClient } from '#supabase/server'
44

55
export default defineEventHandler(async (event) => {

0 commit comments

Comments
 (0)