Svelte 5 TS: class
property in template literal causes Unterminated template / Unexpected token!
#13188
Labels
class
property in template literal causes Unterminated template / Unexpected token!
#13188
Describe the bug
Optional chaining to a property named
class
inside a template literal in a TypeScript script breaks the Svelte 5 parser.Reproduction
Throws
Unterminated template
.Throws
Unexpected token
.Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: