Dynamically modify/filter type to create a new type

后端 未结 0 1095
失恋的感觉
失恋的感觉 2021-01-12 04:36

Given a type such as:

type PromiseFunc = () => Promise;
type A = {
  key1: string;
  key2: string;
  key3: PromiseFunc;
  key4: string;
  ke         


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