feat: upgrade typescript to 5.8.3 (#21449)
* feat: upgrade typescript to 5.8.3 Co-Authored-By: [email protected] <[email protected]> * chore: fix TypeScript 5.8.3 compatibility issues Co-Authored-By: [email protected] <[email protected]> * Uncomment `optmizeImage` * Type fix * Type fix --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: [email protected] <[email protected]> Co-authored-by: Joe <[email protected]>
This commit is contained in:
23 files changed
+52
-43
No files matched your search
@@ -38,7 +38,8 @@ describe("GET /api/bookings", async () => {
|
||||
|
||||
expect(responseData.bookings.find((b) => b.userId === memberUser.id)).toBeDefined();
|
||||
expect(groupedUsers.size).toBe(1);
|
||||
expect(groupedUsers.entries().next().value[0]).toBe(memberUser.id);
|
||||
const firstEntry = groupedUsers.entries().next().value;
|
||||
expect(firstEntry?.[0]).toBe(memberUser.id);
|
||||
});
|
||||
|
||||
it("Returns bookings for regular user", async () => {
|
||||
|
||||
Reference in new issue
Block a user