Skip to content

Commit 12ec93d

Browse files
committed
Fix typing of GOT_FEEDBACK action
1 parent 1761e91 commit 12ec93d

File tree

1 file changed

+6
-1
lines changed
  • packages/skin-database/api

1 file changed

+6
-1
lines changed

packages/skin-database/api/app.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@ export type ApiAction =
1818
| { type: "CLASSIC_SKIN_UPLOADED"; md5: string }
1919
| { type: "MODERN_SKIN_UPLOADED"; md5: string }
2020
| { type: "SKIN_UPLOAD_ERROR"; uploadId: string; message: string }
21-
| { type: "GOT_FEEDBACK"; message: string; email?: string; url?: string }
21+
| {
22+
type: "GOT_FEEDBACK";
23+
message: string;
24+
email?: string | null;
25+
url?: string | null;
26+
}
2227
| {
2328
type: "SYNCED_TO_ARCHIVE";
2429
successes: number;

0 commit comments

Comments
 (0)