]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(type): should not intersect `PublicProps` with `Props` (#12077)
author山吹色御守 <85992002+KazariEX@users.noreply.github.com>
Thu, 3 Oct 2024 15:24:09 +0000 (23:24 +0800)
committerGitHub <noreply@github.com>
Thu, 3 Oct 2024 15:24:09 +0000 (23:24 +0800)
packages/runtime-core/src/apiDefineComponent.ts

index d5e2feb5e6db32ca303342387107eea80c7da1c3..9ae6b41a4dac79c52dc94a02db4e559ee21c575e 100644 (file)
@@ -79,7 +79,7 @@ export type DefineComponent<
     Mixin,
     Extends,
     E,
-    PP & Props,
+    PP,
     Defaults,
     MakeDefaultsOptional,
     {},