How to create Union or Pick type from an interface in TypeScript?

前端 未结 0 807
难免孤独
难免孤独 2021-02-01 20:28

I have a type for my Redux store object something along the lines of:

 interface StoreState {
    state1: State1Type;
    state2: State2Type;
    state3: {
               


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题