diff --git a/packages/runtime-core/src/apiDefineComponent.ts b/packages/runtime-core/src/apiDefineComponent.ts index 9b85638c2..333d18a30 100644 --- a/packages/runtime-core/src/apiDefineComponent.ts +++ b/packages/runtime-core/src/apiDefineComponent.ts @@ -31,9 +31,9 @@ export type PublicProps = VNodeProps & ComponentCustomProps export type DefineComponent< - PropsOrPropOptions = any, - RawBindings = any, - D = any, + PropsOrPropOptions = {}, + RawBindings = {}, + D = {}, C extends ComputedOptions = ComputedOptions, M extends MethodOptions = MethodOptions, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin,