Hi,
I just upgraded Calcite from version 1.3 to version 1.4 and now have 140 typescript errors where I previously had it down to only two that I couldn't resolve. The following is an example of a very frequent new message. What I am I doing wrong?
let fromDatePicker = document.getElementById("form57-fltr-sel-fromdate-datepicker") as HTMLCalciteDatePickerElement and this is the error I am getting:
Conversion of type 'HTMLElement | null' to type 'HTMLCalciteDatePickerElement' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type 'HTMLElement' is not comparable to type 'CalciteDatePicker'.
Thanks!