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

Using TS generics (Diamond syntax <>) in SFC template fails in 3.2.34 #5959

AlexandreBonaventure opened this issue May 19, 2022 · 1 comment


Copy link

Link to minimal reproduction

Steps to reproduce

Use generics in SFC template with diamond syntax <>

What is expected?

It was working just fine up until 3.2.34, this fork shows that it works fine with only a version change to 3.2.33

What is actually happening?

It throws an Unexpected token compilation error.

System Info

not relevant - repro is stackblitz

Any additional comments?

We've been using this syntax for typing slots in the template.

Copy link

I suspect this bug was introduced in ccf9256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging a pull request may close this issue.

3 participants