hyperapplicable
Advanced tools
Comparing version 0.8.1 to 0.8.2
@@ -21,3 +21,3 @@ import { ClassProp, MaybeVNode, VNode, Action, Effect, Dispatchable, CustomPayloads, Dispatch, Unsubscribe } from 'hyperapp'; | ||
declare type Subscriber<S, P> = (dispatch: Dispatch<S>, payload: P) => void | Unsubscribe; | ||
declare type Transform<S, P = any> = (state: S) => StateFormat<S, P>; | ||
declare type Transform<S, P = any> = (state: S, payload?: P) => StateFormat<S, P>; | ||
declare type View<S> = (state: S) => MaybeVNode<S>; | ||
@@ -24,0 +24,0 @@ declare type ViewComponent<S, P> = <X>(props: CustomPayloads<S, X> & P, content: MaybeVNode<S>[]) => MaybeVNode<S>; |
{ | ||
"name": "hyperapplicable", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"description": "A utility library for Hyperapp.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
7945