We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No overload matches this call.
Please provide other information which led to this error, and any specific questions you have about it:
This is the line I'm having issues with
menuCategoriesWithItems.value = Array.from(res.data).filter(({ menu_items }: MenuItem) => menu_items.length > 0).map
this is the interface for MenuItem
MenuItem
export interface MenuItem { id: number; menu_id: number; menu_itemable_id: number; menu_itemable_type: string; created_at: string | null; updated_at: string | null; pre_cooked: number; limited_stock: number; small_qty: number; medium_qty: number; large_qty: number; hamper_qty: number; pack_qty: number | null; hide_item: number; category_index: number; customer_order_limit: number | null; menu_category_id: number; menu_sale_id: number | null; menu_itemable: Meal | MealPack; sale: unknown | null; // Replace with specific type if known badges: unknown[]; // Replace with specific type if known }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Error Text
No overload matches this call.
Supporting Information
Please provide other information which led to this error, and any specific questions you have about it:
This is the line I'm having issues with
this is the interface for
MenuItem
The text was updated successfully, but these errors were encountered: