runem / lit-analyzer

Monorepository for tools that analyze lit-html templates
MIT License
317 stars 36 forks source link

Support for Typescript v4.8.2 #272

Closed Ben-Barron closed 1 year ago

Ben-Barron commented 1 year ago

I've just upgraded my version of Typescript in my project to v4.8.2 and I've now lost support for recognising custom elements in html blocks. It's now showing unknown-tag in Visual Studio Code for all my custom elements.

If I downgrade Typescript to v4.7.4, it works fine.

VS code v1.70.2 ts-lit-plugin v1.2.1 vscode-lit-pluin v1.2.4

SimonAlling commented 1 year ago

More info in #278.

rictic commented 1 year ago

This is fixed at @next and with the latest version of the VSCode plugin