Comparing version 2.0.18 to 2.0.19
@@ -119,3 +119,3 @@ // Minimum TypeScript Version: 4.2 | ||
| S | ||
| [state: S, ...effects: Effect<S, P>[]] | ||
| [state: S, ...effects: MaybeEffect<S, P>[]] | ||
| Action<S, P> | ||
@@ -129,3 +129,7 @@ | readonly [action: Action<S, P>, payload: P] | ||
] | ||
// Effects can be declared conditionally. | ||
type MaybeEffect<S, P> = null | undefined | boolean | "" | 0 | Effect<S, P> | ||
// Event handlers are implemented using actions. | ||
@@ -132,0 +136,0 @@ type EventActions<S> = { |
{ | ||
"name": "hyperapp", | ||
"version": "2.0.18", | ||
"version": "2.0.19", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -65,3 +65,3 @@ # Hyperapp | ||
If you've hit a stumbling block, hop on our [Discord](https://discord.gg/5CtfCYEq8V) server to get help, and if you remain stuck, [please file an issue](https://github.com/jorgebucaran/hyperapp/issues/new), and we'll help you figure it out. | ||
If you've hit a stumbling block, hop on our [Discord](https://discord.gg/eFvZXzXF9U) server to get help, and if you remain stuck, [please file an issue](https://github.com/jorgebucaran/hyperapp/issues/new), and we'll help you figure it out. | ||
@@ -68,0 +68,0 @@ ## Contributing |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23974
564