First, thanks for putting together this repo. It convinced me to give HyperApp+TS a try with Parcel.
I want to write unit tests on actions which don't assemble an app or a document. Invoking the actions directly, though, gives a TypeScript error: TS2349: Cannot invoke an expression whose type lacks a call signature.
Here's a reproducible case in a gist, with the text of the
First, thanks for putting together this repo. It convinced me to give HyperApp+TS a try with Parcel.
I want to write unit tests on actions which don't assemble an app or a document. Invoking the actions directly, though, gives a TypeScript error: TS2349: Cannot invoke an expression whose type lacks a call signature.
Here's a reproducible case in a gist, with the text of the
https://gist.github.com/pauleveritt/b214a3c207b7779a4ae0ec1690c68139