fix: incorrect types for PersonalRooms & TailorShop #618

Merged
Sainan merged 3 commits from tailor-type into main 2024-12-22 21:21:48 -08:00
Showing only changes of commit 774d5a49c4 - Show all commits

View File

@ -9,7 +9,7 @@ export const toInventoryResponse = (inventoryDatabase: { accountOwnerId: Types.O
return inventoryResponse as unknown as IInventoryResponse;
};
export const toOid = (objectId: Types.ObjectId) => {
export const toOid = (objectId: Types.ObjectId): IOid => {
return { $oid: objectId.toString() } satisfies IOid;
};