We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ade768d commit c8c0db6Copy full SHA for c8c0db6
src/serverModel.ts
@@ -110,7 +110,7 @@ export interface IProductV2DTO {
110
ps: number;
111
cc: string | number;
112
tpa: number;
113
- attrs: Record<string, string> | null;
+ attrs: Dictionary<string> | null;
114
}
115
116
export interface IPromotionV2DTO {
@@ -181,7 +181,7 @@ function convertProductToV2DTO(product: SDKProduct): IProductV2DTO {
181
ps: parseNumber(product.Position),
182
cc: parseStringOrNumber(product.CouponCode),
183
tpa: parseNumber(product.TotalAmount),
184
- attrs: product.Attributes as Record<string, string> | null,
+ attrs: product.Attributes as Dictionary<string> | null,
185
};
186
187
0 commit comments