mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
shopify-buy LineItem.compare_at_price can be null (#43898)
* LineItem.compare_at_price can be null, even according to the comments above the property * Added myself to list of shopify-buy authors
This commit is contained in:
parent
37fed5dd63
commit
9016a34ac9
3
types/shopify-buy/index.d.ts
vendored
3
types/shopify-buy/index.d.ts
vendored
@ -4,6 +4,7 @@
|
||||
// Stephen Traiforos <https://github.com/straiforos>
|
||||
// Rosana Ruiz <https://github.com/totemika>
|
||||
// Juan Manuel Incaurgarat <https://github.com/kilinkis>
|
||||
// Chris Worman <https://github.com/chrisworman-pela>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.7
|
||||
|
||||
@ -330,7 +331,7 @@ declare namespace ShopifyBuy {
|
||||
* previously before the product went on sale.
|
||||
* If no compareAtPrice is set then this value will be null. An example value: "5.00".
|
||||
*/
|
||||
compare_at_price: string;
|
||||
compare_at_price: string | null;
|
||||
|
||||
/**
|
||||
* Variant's weight in grams. If no weight is set then 0 is returned.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user