When using a render function in a component function from babel-preset-vca-jsx typing only works inside the component. When I try to pass props to this component I get an error
No overload matches this call.
Overload 3 of 3, '(options?: ComponentOptions<_TsxComponentInstanceV3<Vue & void, {}, PropsForOutside<{ shortTitle: string; title: string; ulr: string; }, "title" | "ulr">, unknown, unknown, unknown>, ... 4 more ..., DefaultProps> | undefined): never', gave the following error.
Type 'string' is not assignable to type 'never'.
This error only appears when using CompositionComponentOptionsWithRender. With CompositionComponentOptions everything works fine.
When using a
render
function in acomponent
function frombabel-preset-vca-jsx
typing only works inside the component. When I try to pass props to this component I get an errorThis error only appears when using
CompositionComponentOptionsWithRender
. WithCompositionComponentOptions
everything works fine.