From f0ab21172a453939851aa700ff43f0855cafa492 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Wed, 17 Jan 2018 11:21:37 +0000 Subject: [PATCH] Types ical.js: fix fromJSDate. --- src/types/ical.js.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/types/ical.js.d.ts b/src/types/ical.js.d.ts index 4695542..a277593 100644 --- a/src/types/ical.js.d.ts +++ b/src/types/ical.js.d.ts @@ -59,6 +59,7 @@ declare module 'ical.js' { isDate: boolean; static fromString(str: string): Time; + static fromJSDate(aDate: Date | null, useUTC: boolean): Time; static now(): Time; @@ -79,8 +80,6 @@ declare module 'ical.js' { adjust( aExtraDays: number, aExtraHours: number, aExtraMinutes: number, aExtraSeconds: number, aTimeopt?: Time): void; - fromJSDate(aDate: Date | null, useUTC: boolean): void; - toJSDate(): Date; } }