Wrap TypeScript interface in Observable -


i have interface like:

interface mystate {   userstate: userstate;   notificationsstate: notificationsstate;   datastate: datastate; } 

and based on i'd generate interface like:

interface rxmystate {   userstate: observable<userstate>;   notificationsstate: observable<notificationsstate>;   datastate: observable<datastate>; } 

but don't want create , update second interface hand every time add/remove in storestate interface. there way can tell typescript wrap items in storestate interface observable<state>?


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -