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

.net - Bulk insert via Dapper is slower than inserting rows one-by-one -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

shared memory - gstreamer shmsrc and shmsink with h264 data -