fix(types): props in defineOptions type should be optional

close #10841
This commit is contained in:
Evan You 2024-04-30 08:26:39 -07:00
parent 582a3a382b
commit 124c4cac83
No known key found for this signature in database
GPG Key ID: B9D421896CA450FB
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ export function defineOptions<
/**
* props should be defined via defineProps().
*/
props: never
props?: never
/**
* emits should be defined via defineEmits().
*/