semantic error TS2345: Argument of type '{ new (): { $props: VNodeProps & TeleportProps; }; __isTeleport: true; }' is not assignable to parameter of type 'string | ComponentOptions<any, any, any, Record<string, ComputedGetter<any> | WritableComputedOptions<any>>, MethodOptions, any, any, any> | ... 9 more ... | ClassComponent'.
Type '{ new (): { $props: VNodeProps & TeleportProps; }; __isTeleport: true; }' is not assignable to type 'ComponentPublicInstanceConstructor<any, any, any, any, Record<string, ComputedGetter<any> | WritableComputedOptions<any>>, MethodOptions>'.
Types of property '__isTeleport' are incompatible.
Type 'true' is not assignable to type 'never'.
Version
6.0.0
Reproduction link
https://github.com/Wizard67/rollup-vue
Steps to reproduce
build
script.What is expected?
Building Success.
What is actually happening?
typescript throws the following error.
Using options api is working fine.