mirror of https://github.com/vuejs/core.git
fix(types): props in defineOptions type should be optional
close #10841
This commit is contained in:
parent
582a3a382b
commit
124c4cac83
|
@ -210,7 +210,7 @@ export function defineOptions<
|
|||
/**
|
||||
* props should be defined via defineProps().
|
||||
*/
|
||||
props: never
|
||||
props?: never
|
||||
/**
|
||||
* emits should be defined via defineEmits().
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue