How can I get a typescript object property to accept a union of an array (of objects) or object?

后端 未结 0 1364
天涯浪人
天涯浪人 2020-12-13 01:49

first stack overflow question, so hopefully I\'m asking in an useful manner and apprecate all assistance :-)

I have an interface that whose property \'location\' requ

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