diff --git a/packages/runtime-core/src/componentPublicInstance.ts b/packages/runtime-core/src/componentPublicInstance.ts index af9aea12856..3052eca708a 100644 --- a/packages/runtime-core/src/componentPublicInstance.ts +++ b/packages/runtime-core/src/componentPublicInstance.ts @@ -219,7 +219,9 @@ export type ComponentPublicInstance< $: ComponentInternalInstance $data: D $props: MakeDefaultsOptional extends true - ? Partial & Omit & PublicProps, keyof Defaults> & AttrsProps + ? Partial & + Omit & PublicProps, keyof Defaults> & + AttrsProps : Prettify

& PublicProps & AttrsProps $attrs: HasDefinedAttrs extends true ? Readonly