TypeScript: is it possible to recursively traverse the type of an object and match it with a given type

后端 未结 0 600
日久生厌
日久生厌 2020-11-28 06:12

I have an object of this type

interface Obj {
  key1: SubType1;
  key2: SubType2;
}

Where SubType1 and SubType2 are

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