How to use generic type and union types in typescript

前端 未结 0 520
春和景丽
春和景丽 2020-12-28 16:30

I have a class, and when I initialize it, I pass in a value, or an object about the value

for example

new Field(\'test\')
new Field

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