Commit Graph

4 Commits

Author SHA1 Message Date
Amine Ben hammou
4312dd3532 Set initial sending method
[MAILPOET-2693]
2020-04-20 16:25:39 +02:00
Amine Ben hammou
6cdb029465 Make useSetting return value and setter
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
Amine Ben hammou
1026b07495 Add comments about TS keyof and overloads
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
e617475803 Add useSetting and useSettingSetter hooks
Because `useSelector('getSetting')` and `useAction('setSetting')` dont have detailed type definitions
for parameters and return. The type definitions for these two hooks are verbose but they ensure more
type coverage and proper code auto-completion.
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00