Typescript sting manipulation types

前端 未结 0 717
难免孤独
难免孤独 2020-12-18 18:06

I would like to type a function which replaces x with union of 10 or 20

input union \'1-x-1-x\' | \'2-x-2-x\'

x union \'10\' | \'20\'

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