Ver código fonte

fix(type): should not intersect `PublicProps` with `Props` (#12077)

山吹色御守 1 ano atrás
pai
commit
6f85894376
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      packages/runtime-core/src/apiDefineComponent.ts

+ 1 - 1
packages/runtime-core/src/apiDefineComponent.ts

@@ -79,7 +79,7 @@ export type DefineComponent<
     Mixin,
     Extends,
     E,
-    PP & Props,
+    PP,
     Defaults,
     MakeDefaultsOptional,
     {},