Vuejs prop validation with multiple types and typed arrays

前端 未结 0 920
终归单人心
终归单人心 2020-12-23 09:13

Using Vuejs 3 and Typescript, the goal is to get a prop to be of type string | string[]. Looking at the docs, it looks like I should be able to set a prop using

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