diff --git a/packages/runtime-core/src/apiSetupHelpers.ts b/packages/runtime-core/src/apiSetupHelpers.ts index c1703f22..ff770e3f 100644 --- a/packages/runtime-core/src/apiSetupHelpers.ts +++ b/packages/runtime-core/src/apiSetupHelpers.ts @@ -7,6 +7,12 @@ import { EmitFn, EmitsOptions } from './componentEmits' import { ComponentObjectPropsOptions, ExtractPropTypes } from './componentProps' import { warn } from './warning' +type InferDefaults = { + [K in keyof T]?: NonNullable extends object + ? () => NonNullable + : NonNullable +} + /** * Compile-time-only helper used for declaring props inside `