@cripty2001/utils 0.0.191 → 0.0.192

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -86,4 +86,5 @@ export declare function getEnv(key: string, defaultValue?: string): string;
86
86
  export declare const CURRENT_TS_MS: () => Whispr<number>;
87
87
  export declare function timediff2HumanReadable(diffMs: number): string;
88
88
  export declare function fn2promise<T>(fn: () => T | Promise<T>): Promise<T>;
89
+ export type SafeApplyCb<T> = (draft: T) => T | void;
89
90
  export declare function safeApply<T>(updater: (draft: T) => T | void, incoming: T): T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cripty2001/utils",
3
- "version": "0.0.191",
3
+ "version": "0.0.192",
4
4
  "description": "Internal Set of utils. If you need them use them, otherwise go to the next package ;)",
5
5
  "homepage": "https://github.com/cripty2001/utils#readme",
6
6
  "bugs": {