pocket-state 0.1.19 → 0.1.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pocket-state",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "description": "tiny global store",
5
5
  "main": "src/index",
6
6
  "codegenConfig": {
@@ -11,7 +11,7 @@ interface FileList {
11
11
  * Keep listeners pure and fast. Long-running side effects should live in
12
12
  * middleware/effects instead of listeners.
13
13
  */
14
- export interface Listener<T = any> {
14
+ export interface Listener<T = unknown> {
15
15
  (prev: T, next: T): void;
16
16
  }
17
17