Using TS generics (Diamond syntax <>) in SFC template fails in 3.2.34
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-83x6xy?file=src/App.vue
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 https://stackblitz.com/edit/vitejs-vite-dp1cf3?file=package.json
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.
I suspect this bug was introduced in https://github.com/vuejs/core/commit/ccf92564d339cdee3947aecfba2e861c88864883