@8ms/helpers 1.2.0 → 1.2.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/global/forceUpdate.d.ts +1 -1
- package/global/forceUpdate.js +1 -0
- package/global/init.d.ts +2 -2
- package/global/read.d.ts +0 -2
- package/global/read.js +1 -1
- package/package.json +1 -1
package/global/forceUpdate.d.ts
CHANGED
package/global/forceUpdate.js
CHANGED
package/global/init.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare type
|
|
1
|
+
declare type Init = {
|
|
2
2
|
expires: number;
|
|
3
3
|
key: string;
|
|
4
4
|
updateFn: Function;
|
|
@@ -6,5 +6,5 @@ declare type Update = {
|
|
|
6
6
|
/**
|
|
7
7
|
* Initialise a new global data.
|
|
8
8
|
*/
|
|
9
|
-
declare const init: ({ expires, key, updateFn }:
|
|
9
|
+
declare const init: ({ expires, key, updateFn }: Init) => Promise<any>;
|
|
10
10
|
export default init;
|
package/global/read.d.ts
CHANGED
package/global/read.js
CHANGED