diff --git a/packages/runtime-core/src/apiSetupHelpers.ts b/packages/runtime-core/src/apiSetupHelpers.ts index 155c8cd19cc..a8b7fcdef31 100644 --- a/packages/runtime-core/src/apiSetupHelpers.ts +++ b/packages/runtime-core/src/apiSetupHelpers.ts @@ -139,7 +139,7 @@ type InferDefault = T extends | boolean | symbol | Function - ? T + ? T | ((props: P) => T) : (props: P) => T type PropsWithDefaults = Base & {