From 27e66b0bc85bc59d51dfb360b5581451a89c1e06 Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Wed, 29 Jun 2016 02:16:18 +0300 Subject: [PATCH] getVarDate should be on the Date interface --- src/lib/scripthost.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/scripthost.d.ts b/src/lib/scripthost.d.ts index baf93f55d552b..b163a7e5154c9 100644 --- a/src/lib/scripthost.d.ts +++ b/src/lib/scripthost.d.ts @@ -284,5 +284,8 @@ interface VarDate { } interface DateConstructor { new (vd: VarDate): Date; +} + +interface Date { getVarDate: () => VarDate; -} \ No newline at end of file +}