You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.
// action payload type is '{}' which is almost as bad as anyconstanyAction=createAction('increment');
I think it would be safer to default to void or somehow force user to specifying type parameter and be explicit about using any:
constvoidAction=createAction('increment');// same as using <void>// orconstillegalAction=createAction('increment');//compile error// still possible but explicitconstanyAction=createAction<any>('increment');
Tested with typescript 3.4.5 and all strict rules enabled.
The text was updated successfully, but these errors were encountered:
mixvar
pushed a commit
to mixvar/redux-ts-utils
that referenced
this issue
May 21, 2019
currently:
I think it would be safer to default to
void
or somehow force user to specifying type parameter and be explicit about usingany
:Tested with typescript 3.4.5 and all strict rules enabled.
The text was updated successfully, but these errors were encountered: