luwanquan/babel-preset-vca-jsx

Spread not working

skyrpex opened this issue · 2 comments

Hi there! I'm not sure if this belongs here, so sorry if it doesn't.

The first version correctly recognizes the types of the props, but won't work for Vue. Maybe this plugin could act differently when spreading?

image

I am sorry that my reply is late.
I am not sure if I fully understand your question.

Under .js, both versions can be executed normally and correctly spread.

If you mean that the type is not recognized correctly under .tsx, can you provide a specific example?

But I believe this has nothing to do with this plugin.

That's not late, don't worry! :)

Sorry, the issue description was vague. You're right, it doesn't really belong here. I created an extended issue here: vuejs/babel-plugin-transform-vue-jsx#182.