How to get typescript to understand the use of a conditional type

后端 未结 0 661
情话喂你
情话喂你 2020-12-02 04:47

I have a request handler for a post endpoint used to validate receipts. The handler that takes one of two types as an incoming payload {location: \'foo\' | \'bar\', re

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