@ztimson/utils 0.22.10 → 0.23.0

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/time.d.ts CHANGED
@@ -5,7 +5,6 @@
5
5
  * @return {() => void}
6
6
  */
7
7
  export declare function adjustedInterval(cb: Function, ms: number): () => void;
8
- export declare function adjustTz(date: Date, offset: number): Date;
9
8
  /**
10
9
  * Format date
11
10
  *
@@ -14,7 +13,7 @@ export declare function adjustTz(date: Date, offset: number): Date;
14
13
  * @param tz Override timezone, can be either string or number
15
14
  * @return {string} Formated date
16
15
  */
17
- export declare function formatDate(date: Date | number | string, format?: string, tz?: any): string;
16
+ export declare function formatDate(date: Date | number | string, format?: string, tz?: string | number): string;
18
17
  /**
19
18
  * Run a function immediately & repeat every x ms
20
19
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ztimson/utils",
3
- "version": "0.22.10",
3
+ "version": "0.23.0",
4
4
  "description": "Utility library",
5
5
  "author": "Zak Timson",
6
6
  "license": "MIT",