We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd96c63 commit f331773Copy full SHA for f331773
src/index.ts
@@ -17,8 +17,6 @@ export {
17
VueMixin,
18
VueStatic,
19
VueConstructor,
20
- EmitsOptions,
21
- ObjectEmitsOptions,
22
PublicProps,
23
} from './vue'
24
src/vue.ts
@@ -10,6 +10,7 @@ import {
10
proxyRefs,
11
Prop,
12
ComponentObjectPropsOptions,
13
+ EmitsOptions,
14
} from 'vue'
15
import { VueWithProps } from './props'
16
@@ -116,12 +117,6 @@ export interface ClassComponentHooks {
116
117
serverPrefetch?(): Promise<unknown>
118
}
119
-export type ObjectEmitsOptions = Record<
120
- string,
121
- ((...args: any[]) => any) | null
122
->
123
-export type EmitsOptions = ObjectEmitsOptions | string[]
124
-
125
export type Vue<
126
Props = unknown,
127
Emits extends EmitsOptions = {},
0 commit comments