Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spread not working #2

Closed
skyrpex opened this issue Oct 24, 2019 · 2 comments
Closed

Spread not working #2

skyrpex opened this issue Oct 24, 2019 · 2 comments

Comments

@skyrpex
Copy link

skyrpex commented Oct 24, 2019

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

@luwanquan
Copy link
Owner

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.

@skyrpex
Copy link
Author

skyrpex commented Oct 31, 2019

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.

@skyrpex skyrpex closed this as completed Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants