typescript: is there a recursive keyof?

后端 未结 0 1435
滥情空心
滥情空心 2020-12-17 06:52

is there a way to have code like this compile and be type safe?

type ComplexObject = {
  primitive1: boolean;
  complex: {
    primitive2: string;
    primiti         


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