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

@@ -9,7 +9,7 @@ import {
import { ACCOUNT_ACCESS } from '~~/prisma/account-access-enum';
import { z } from 'zod';
import { AccountService } from '~~/lib/services/account.service';
import { MembershipWithAccount } from '~~/lib/services/service.types';
import type { MembershipWithAccount } from '~~/lib/services/service.types';
/*
Note on proliferation of Bang syntax... adminProcedure throws if either the ctx.dbUser or the ctx.activeAccountId is not available but the compiler can't figure that out so bang quiesces the null warning