wonderful-panda/vue-tsx-support

`ofType` & `convert` not returning correct type in version 2.2.0

Closed this issue · 0 comments

In 2.1.1, using the below code:

export const VAvatar = ofType<Props, Events, ScopedSlots>().convert(
  VueAvatarOriginal,
);

the type of VAvatar is like the following:

const VAvatar: VueConstructor<{
    _tsxattrs: TsxComponentAttrs<Props, Events, ScopedSlots>;
} & Vue>

but when I use with 2.2.0

the type of VAvatar is like the following instead:

const VAvatar: VueConstructor<any>