question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

product_id property is missing from TS CartItem type

See original GitHub issue

It seems the product_id property is present on the OrderItem type but not on the CartItem type.

But CartItems returned from a Cart.Items() call do have the product_id property.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
dusanradovanoviccommented, Aug 21, 2020

@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.

0reactions
moltinbotcommented, Aug 21, 2020

🎉 This issue has been resolved in version 4.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found