@base-web-kits/base-tools-ts 0.9.10 → 0.9.99

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.
@@ -66,7 +66,7 @@ export declare function getDateRangeAfter(offset: number, fmt?: string): string[
66
66
  * @returns 包含天、时、分、秒、毫秒的零填充对象
67
67
  * @example
68
68
  * const diff = toDayjs(t).diff(); // 毫秒差值
69
- * const parts = getCountdownParts(diff); // { d: '01', h: '02', m: '03', s: '04', ms: '567' }
69
+ * const parts = getCountdownParts(diff); // { d: '00', h: '00', m: '00', s: '00', ms: '000' }
70
70
  */
71
71
  export declare function getCountdownParts(diff: number): {
72
72
  d: string;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * re-export 全量 es-toolkit
3
+ * 文档: https://es-toolkit.dev/
4
+ * 目的: 从工具库统一es-toolkit版本,避免项目多个版本冲突
5
+ * 注意: 需在tsup.config.ts加入noExternal: ['es-toolkit'],确保打包时不被忽略
6
+ */
7
+ export * from 'es-toolkit';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ts/es-toolkit/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,cAAc,YAAY,CAAC"}