Javascript Type Undefined Is Not Assignable To Type Date Stack

Javascript Type Undefined Is Not Assignable To Type Date Stack