The datepicker is able to set its own value to null with no errors, but if I try to set the initial value to null or create a clear function to make it null, strict mode won't let me. And if I try to change the variable bound to the datepicker to a Date | null type, I get errors that null is not a valid option.
How can I programmatically set the value to null with strict mode on?