Typescript: create generic Unwrap helper type

后端 未结 0 1877
盖世英雄少女心
盖世英雄少女心 2020-12-08 17:13

I\'ve created a helper type to unwrap the inner type of an Observable:

type UnwrapObservable = T extends Observable<(infer U         


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