From 12ec93d2d29ebb13d720522eb97de7b26d9feb77 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Thu, 5 Jun 2025 17:47:18 -0400 Subject: [PATCH] Fix typing of GOT_FEEDBACK action --- packages/skin-database/api/app.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/skin-database/api/app.ts b/packages/skin-database/api/app.ts index 3e98b6c2..88deabca 100644 --- a/packages/skin-database/api/app.ts +++ b/packages/skin-database/api/app.ts @@ -18,7 +18,12 @@ export type ApiAction = | { type: "CLASSIC_SKIN_UPLOADED"; md5: string } | { type: "MODERN_SKIN_UPLOADED"; md5: string } | { type: "SKIN_UPLOAD_ERROR"; uploadId: string; message: string } - | { type: "GOT_FEEDBACK"; message: string; email?: string; url?: string } + | { + type: "GOT_FEEDBACK"; + message: string; + email?: string | null; + url?: string | null; + } | { type: "SYNCED_TO_ARCHIVE"; successes: number;