diff --git a/src/component/componentOptions.ts b/src/component/componentOptions.ts index a6cc5d29..47743147 100644 --- a/src/component/componentOptions.ts +++ b/src/component/componentOptions.ts @@ -70,6 +70,7 @@ export type ComponentOptionsWithProps< Props = ExtractPropTypes > = ComponentOptionsBase & { props?: PropsOptions + emits?: string[] | Record boolean) > setup?: SetupFunction } & ThisType> @@ -82,6 +83,7 @@ export type ComponentOptionsWithArrayProps< Props = Readonly<{ [key in PropNames]?: any }> > = ComponentOptionsBase & { props?: PropNames[] + emits?: string[] | Record boolean)> setup?: SetupFunction } & ThisType> @@ -93,6 +95,7 @@ export type ComponentOptionsWithoutProps< M extends MethodOptions = {} > = ComponentOptionsBase & { props?: undefined + emits?: string[] | Record boolean)> setup?: SetupFunction } & ThisType>