|
|
@@ -1183,22 +1183,30 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
+import {
|
|
|
+ DefineComponent,
|
|
|
+ ComponentOptionsMixin,
|
|
|
+ EmitsOptions,
|
|
|
+ VNodeProps,
|
|
|
+ AllowedComponentProps,
|
|
|
+ ComponentCustomProps,
|
|
|
+ ExtractPropTypes
|
|
|
+} from './index'
|
|
|
+
|
|
|
// code generated by tsc / vue-tsc, make sure this continues to work
|
|
|
// so we don't accidentally change the args order of DefineComponent
|
|
|
-declare const MyButton: import('vue').DefineComponent<
|
|
|
+declare const MyButton: DefineComponent<
|
|
|
{},
|
|
|
() => JSX.Element,
|
|
|
{},
|
|
|
{},
|
|
|
{},
|
|
|
- import('vue').ComponentOptionsMixin,
|
|
|
- import('vue').ComponentOptionsMixin,
|
|
|
- import('vue').EmitsOptions,
|
|
|
+ ComponentOptionsMixin,
|
|
|
+ ComponentOptionsMixin,
|
|
|
+ EmitsOptions,
|
|
|
string,
|
|
|
- import('vue').VNodeProps &
|
|
|
- import('vue').AllowedComponentProps &
|
|
|
- import('vue').ComponentCustomProps,
|
|
|
- Readonly<import('vue').ExtractPropTypes<{}>>,
|
|
|
+ VNodeProps & AllowedComponentProps & ComponentCustomProps,
|
|
|
+ Readonly<ExtractPropTypes<{}>>,
|
|
|
{}
|
|
|
>
|
|
|
|