minutool 1.0.12 → 1.0.14

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.
package/dist/index.d.ts CHANGED
@@ -17,6 +17,10 @@ export declare interface AbortablePromise<T> extends Promise<T> {
17
17
  abort: () => void;
18
18
  }
19
19
 
20
+ export declare class AbortError extends Error {
21
+ constructor(message: string);
22
+ }
23
+
20
24
  /**
21
25
  * 将数组分割成指定大小的块
22
26
  * @param {T[]} list - 源数组