@tspro/ts-utils-lib 3.1.0 → 3.1.1

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/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
1
  # Changelog
2
+ ## [3.1.1] - 2026-01-08
3
+ ## Fixed
4
+ - CallTracker.
5
+
2
6
  ## [3.1.0] - 2026-01-08
3
7
  ### Added
4
8
  - CallTracker.
package/dist/index.d.ts CHANGED
@@ -1535,11 +1535,13 @@ declare class LinkedList<V> extends BaseContainer implements Iterable<V> {
1535
1535
  clone(): LinkedList<V>;
1536
1536
  }
1537
1537
 
1538
- declare class CallTracker {
1538
+ declare class CallTracker<T = unknown> {
1539
1539
  private counts;
1540
- getCallCountFor(value: any): number;
1541
- hasBeenCalledWith(value: any): boolean;
1540
+ track(value: T): void;
1541
+ getCallCountFor(value: T): number;
1542
+ hasBeenCalledWith(value: T): boolean;
1542
1543
  private static _default;
1544
+ static track(value: any): void;
1543
1545
  static getCallCountFor(value: any): number;
1544
1546
  static hasBeenCalledWith(value: any): boolean;
1545
1547
  }