From 124c4cac833a28ae9bc8edc576c1d0c7c41f5985 Mon Sep 17 00:00:00 2001 From: Evan You Date: Tue, 30 Apr 2024 08:26:39 -0700 Subject: [PATCH] fix(types): props in defineOptions type should be optional close #10841 --- packages/runtime-core/src/apiSetupHelpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-core/src/apiSetupHelpers.ts b/packages/runtime-core/src/apiSetupHelpers.ts index dbe27dde48e..71254d37171 100644 --- a/packages/runtime-core/src/apiSetupHelpers.ts +++ b/packages/runtime-core/src/apiSetupHelpers.ts @@ -210,7 +210,7 @@ export function defineOptions< /** * props should be defined via defineProps(). */ - props: never + props?: never /** * emits should be defined via defineEmits(). */