title: Typescript passing values to Date Validation Decorators?
body: <p>I'm trying to validate a date like this (Both the purchase date and the receipt date are class properties):</p>
  
  <pre><code>@IsDate()
  @MinDate(date: this.purchaseDate)
  receiptDate: Date;
  </code></pre>
  
  <p>However I get the following errors:</p>
  
  <p>src/main/ts/domain/PurchaseOrder.ts(20,16): error TS1005: ',' expected.
  src/main/ts/domain/PurchaseOrder.ts(20,12): error TS2304: Cannot find name 'date'.</p>
  
  <p>How should the purchase date annotation constraint be passed?  The annotations are from the <a href="https://github.com/pleerock/class-validator" rel="nofollow noreferrer">class-validator</a> library.</p>