title: Checking whether a Date is valid in Typescript?
body: <p><a href="https://stackoverflow.com/questions/1353684/detecting-an-invalid-date-date-instance-in-javascript">These are the commonly accepted ways of doing it in Javascript</a>.</p>
  
  <p>However with Typescript is we do <code>!isNaN(someDate)</code>, typescript complains that we are using a method that accepts numbers, and not dates.</p>
  
  <p>Thoughts on how to go about handling this?</p>