How to create a conditional intersection based on a generic parameter?

后端 未结 0 973
清歌不尽
清歌不尽 2021-01-03 18:47

In the follow example

type Message = string

type CommandWithArgsProps = {
  args: true
  argsRequired: boo         


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