Improve ical definitions.

master
Tom Hacohen 7 years ago
parent 0fb37c1132
commit f3e82ee7e4

14
src/ical.js.d.ts vendored

@ -38,6 +38,20 @@ declare module 'ical.js' {
class Time { class Time {
isDate: boolean; isDate: boolean;
static fromString(str: string): Time;
constructor(data?: {
year?: number,
month?: number,
day?: number,
hour?: number,
minute?: number,
second?: number,
isDate?: boolean
});
fromJSDate(aDate: Date | null, useUTC: boolean): void;
toJSDate(): Date; toJSDate(): Date;
} }
} }

Loading…
Cancel
Save