diff --git a/test-dts/defineComponent.test-d.tsx b/test-dts/defineComponent.test-d.tsx index f5941b4341e..2c4076b9b2d 100644 --- a/test-dts/defineComponent.test-d.tsx +++ b/test-dts/defineComponent.test-d.tsx @@ -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>, + VNodeProps & AllowedComponentProps & ComponentCustomProps, + Readonly>, {} >