Sfoglia il codice sorgente

chore: delete useless props type (#4271)

WoodyJang 4 anni fa
parent
commit
f258f5d2c2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/runtime-core/src/apiDefineComponent.ts

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

@@ -102,7 +102,7 @@ export function defineComponent<
   EE extends string = string
 >(
   options: ComponentOptionsWithoutProps<
-    Props & EmitsToProps<E>,
+    Props,
     RawBindings,
     D,
     C,