@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 +4 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.es5.iife.js +1 -1
- package/dist/index.es5.polyfilled.iife.js +1 -1
- package/dist/index.js +13 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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
|
-
|
|
1541
|
-
|
|
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
|
}
|