Browse Source

chore: delete useless props type (#4271)

WoodyJang 4 năm trước cách đây
mục cha
commit
f258f5d2c2

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

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