chore: fix dts test

This commit is contained in:
Evan You 2022-05-21 01:10:18 +08:00
parent 0c7fd13ea6
commit ae1fd539b7

View File

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