Closed zmwangx closed 2 years ago
Actually upon further investigation, VNodeChild
only causes an error with vue-tsc@0.3.0
, not newer versions, so I guess RenderFunction
is okay. Just avoid the problematic version of vue-tsc
.
@zmwangx
I found the same error with vue-tst@0.30.0
version.
I'm not sure why
DefineComponent
was changed toRenderFunction
in #322, but it has a wrong signature (returnsVNodeChild
instead ofVNode
) and is now causing #516 with newer versions ofvue-tsc
(allegedly, I didn't downgrade it to check):as documented in #516. So here we change
RenderFunction
back toDefineComponent
.