You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
654 B
TypeScript

declare module 'ical.js' {
function parse(input: string): Array<any>;
class Component {
name: string;
constructor(jCal: Array<any> | string, parent?: Component);
getFirstSubcomponent(name?: string): Component | null;
getFirstPropertyValue(name?: string): string;
getAllProperties(name?: string): Array<Property>;
}
class Event {
uid: string;
summary: string;
constructor(component?: Component | null,
options?: {strictExceptions: boolean, exepctions: Array<Component|Event>});
}
class Property {
name: string;
type: string;
getValues(): Array<any>;
toJSON(): any;
}
}