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
|
@@ -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 =
|
|
14
|
+
export interface Listener<T = unknown> {
|
|
15
15
|
(prev: T, next: T): void;
|
|
16
16
|
}
|
|
17
17
|
|