Types ical.js: fix fromJSDate.

master
Tom Hacohen 7 years ago
parent 56a28bf9c8
commit f0ab21172a

@ -59,6 +59,7 @@ declare module 'ical.js' {
isDate: boolean; isDate: boolean;
static fromString(str: string): Time; static fromString(str: string): Time;
static fromJSDate(aDate: Date | null, useUTC: boolean): Time;
static now(): Time; static now(): Time;
@ -79,8 +80,6 @@ declare module 'ical.js' {
adjust( adjust(
aExtraDays: number, aExtraHours: number, aExtraMinutes: number, aExtraSeconds: number, aTimeopt?: Time): void; aExtraDays: number, aExtraHours: number, aExtraMinutes: number, aExtraSeconds: number, aTimeopt?: Time): void;
fromJSDate(aDate: Date | null, useUTC: boolean): void;
toJSDate(): Date; toJSDate(): Date;
} }
} }

Loading…
Cancel
Save