runem / lit-analyzer

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

Add a test that the no-nullable-attribute-binding fix suggestion actually works. #360

Open jyasskin opened 3 months ago

jyasskin commented 3 months ago

This is a test to go with whatever fix is developed for #253. It can't be submitted as-is since it currently fails. It also demonstrates a workaround for the bug: use ??nothing instead of ifDefined.

justinfagnani commented 3 months ago

Wow, thanks for writing a test!