aboutsummaryrefslogtreecommitdiffstats
path: root/packages/trpc/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/trpc/index.ts')
-rw-r--r--packages/trpc/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/trpc/index.ts b/packages/trpc/index.ts
index 6ca0bbf7..bcfa7211 100644
--- a/packages/trpc/index.ts
+++ b/packages/trpc/index.ts
@@ -5,8 +5,8 @@ import superjson from "superjson";
type User = {
id: string;
- name: string;
- email: string;
+ name?: string | null | undefined;
+ email?: string | null | undefined;
role: "admin" | "user" | null;
};