Skip to content

Commit 124c4ca

Browse files
committed
fix(types): props in defineOptions type should be optional
close #10841
1 parent 582a3a3 commit 124c4ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/runtime-core/src/apiSetupHelpers.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export function defineOptions<
210210
/**
211211
* props should be defined via defineProps().
212212
*/
213-
props: never
213+
props?: never
214214
/**
215215
* emits should be defined via defineEmits().
216216
*/

0 commit comments

Comments
 (0)