Closed xiaohk closed 6 months ago
It seems ifDefined now supports both undefined and null (https://github.com/lit/lit/issues/1927)
ifDefined
undefined
null
This rule should be updated.
https://github.com/runem/lit-analyzer/blob/9659154904fd2010de3749fc5e904e8c3dfe684b/packages/lit-analyzer/src/lib/rules/no-nullable-attribute-binding.ts#L26-L41
It seems
ifDefined
now supports bothundefined
andnull
(https://github.com/lit/lit/issues/1927)This rule should be updated.
https://github.com/runem/lit-analyzer/blob/9659154904fd2010de3749fc5e904e8c3dfe684b/packages/lit-analyzer/src/lib/rules/no-nullable-attribute-binding.ts#L26-L41