The code below is an example taken from an element class that demonstrates a scenario that triggers the following error on the aria-current attribute for the link element.
Type '"page" | Symbol(undefined)' is not assignable to '"page" | "step" | "location" | "date" | "time" | "true" | "false"'lit-plugin(no-incompatible-type-binding)(2304)
The code below is an example taken from an element class that demonstrates a scenario that triggers the following error on the
aria-current
attribute for the link element.This should not trigger an error as per these guidelines: https://lit.dev/docs/templates/conditionals/#conditionally-rendering-nothing