Skip to content

Commit

Permalink
fix(types): props in defineOptions type should be optional
Browse files Browse the repository at this point in the history
close #10841
  • Loading branch information
yyx990803 committed Apr 30, 2024
1 parent 582a3a3 commit 124c4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/apiSetupHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export function defineOptions<
/**
* props should be defined via defineProps().
*/
props: never
props?: never
/**
* emits should be defined via defineEmits().
*/
Expand Down

0 comments on commit 124c4ca

Please sign in to comment.