Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

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

packages/runtime-core/src/apiSetupHelpers.ts

Lines changed: 1 addition & 1 deletion
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)