Skip to content

Commit

Permalink
getVarDate should be on the Date interface
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitz authored Jun 28, 2016
1 parent 29107e6 commit 27e66b0
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 27e66b0

Please sign in to comment.