aboutsummaryrefslogtreecommitdiffstats
path: root/packages/trpc/index.ts
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-03-05 19:51:50 +0000
committerMohamedBassem <me@mbassem.com>2024-03-05 19:57:43 +0000
commitaceece8a41b17c14cc9767041ab714f899ce6175 (patch)
tree5c593fb3c27e61b97d5b5ff34c37aee5b8e8dde7 /packages/trpc/index.ts
parent2413f0efee2dcb4cd4c9389f5a496d4b3f71335c (diff)
downloadkarakeep-aceece8a41b17c14cc9767041ab714f899ce6175.tar.zst
build: Fix the web build
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;
};