typescript version and import type

This commit is contained in:
Michael Dausmann
2024-02-17 14:34:54 +11:00
parent 5d80955870
commit 0b7635ca1a
6 changed files with 10 additions and 9 deletions

View File

@@ -2,8 +2,8 @@ import { defineEventHandler, parseCookies, setCookie, getCookie } from 'h3';
import { serverSupabaseUser } from '#supabase/server';
import { AuthService } from '~/lib/services/auth.service';
import { User } from '@supabase/supabase-js';
import { FullDBUser } from '~~/lib/services/service.types';
import type { User } from '@supabase/supabase-js';
import type { FullDBUser } from '~~/lib/services/service.types';
// Explicitly type our context by 'Merging' our custom types with the H3EventContext (https://stackoverflow.com/a/76349232/95242)
declare module 'h3' {