Achieve stricter return typing on function with complicated parameter typing

前端 未结 0 1807
闹比i
闹比i 2021-01-20 03:27

I have an object of type

type CompoundType = (IType1 | IType2)[] | (IType3 | IType4)[];

Where IType1, IType2, IType3, IType4, ... , ITy

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