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

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

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

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -