@pisell/pisellos 2.2.20 → 2.2.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,7 +16,7 @@ export declare const calculateSubtotal: (items: CartItem[]) => string;
16
16
  * @return {*}
17
17
  * @Author: xiangfeng.xue
18
18
  */
19
- export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => "0.00" | Decimal;
19
+ export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => Decimal | "0.00";
20
20
  /**
21
21
  * @title: 计算定金
22
22
  * @param items - 购物车商品数组
@@ -16,7 +16,7 @@ export declare const calculateSubtotal: (items: CartItem[]) => string;
16
16
  * @return {*}
17
17
  * @Author: xiangfeng.xue
18
18
  */
19
- export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => "0.00" | Decimal;
19
+ export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => Decimal | "0.00";
20
20
  /**
21
21
  * @title: 计算定金
22
22
  * @param items - 购物车商品数组
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "2.2.20",
4
+ "version": "2.2.22",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",