How to denine Array<string> on define props
Version
3.2.29
Reproduction link
Steps to reproduce
- Create props with defineProps
- Define type of prop as Array
What is expected?
Should define prop type as Array of string
What is actually happening?
throws an error:
The expected type comes from property 'theWord' which is declared here on type 'ComponentObjectPropsOptions'
Can not define prop type as Array
Hello @OrhanOzkercin
Thank your for your interest in this project.
However, your issue is a usage/support question, and the issue tracker is reserved exclusively for bug reports and feature requests (as outlined in our Contributing Guide).
We encourage you to ask it on our Discord chat or Stack Overflowand are happy to help you out there.