Skip to content

Commit

Permalink
Merge pull request #9405 from zspitz/patch-1
Browse files Browse the repository at this point in the history
getVarDate should be on the Date interface
  • Loading branch information
mhegazy authored Jun 29, 2016
2 parents 47bee47 + 27e66b0 commit b524795
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/scripthost.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,5 +284,8 @@ interface VarDate { }

interface DateConstructor {
new (vd: VarDate): Date;
}

interface Date {
getVarDate: () => VarDate;
}
}

0 comments on commit b524795

Please sign in to comment.