product_id property is missing from TS CartItem type
See original GitHub issueIt seems the product_id
property is present on the OrderItem
type but not on the CartItem
type.
But CartItem
s returned from a Cart.Items()
call do have the product_id
property.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Typescript: Type X is missing the following properties from ...
You have forgotten to mark the getProducts return type as an array. In your getProducts it says that it will return a single...
Read more >Type 'X' is missing the following properties from type 'Y'
The error "Type is missing the following properties from type" occurs when the type we assign to a variable is missing some of...
Read more >Managing data - Angular
In product-details.component.ts , import the cart service. ... Define the items property to store the products in the cart. src/app/cart/cart.component.ts
Read more >TS2739: Type is missing the following properties from ... - GitHub
Through it seems not a trouble for now, it is still not the best solution. It will be awesome if some ts dev...
Read more >ts is missing from the TypeScript compilation. - Shadi Atawneh
Please make sure it is in your tsconfig via the 'files' or 'include' property. in angular 9 model class is not recognized and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@tremby I’ve just merged the PR and v4.0.1 is deployed. Thanks again and let me know if you run into anything else.
🎉 This issue has been resolved in version 4.0.1 🎉
The release is available on:
Your semantic-release bot 📦🚀