Closed nick-y-ito closed 6 months ago
The IFood currently looks like below, and it's used everywhere. However, some of the parameters of the food are nullable, according to the Web API document. They must match.
IFood
food
src/types/definition.ts
export interface IFood { id: string; name: string; quantity: number; category: string; unit: string; expiry: Date; createdAt: Date; }
-
Description
The
IFood
currently looks like below, and it's used everywhere. However, some of the parameters of thefood
are nullable, according to the Web API document. They must match.src/types/definition.ts
Notes
-