Updated Calendar typings

This commit is contained in:
Franco Speziali 2022-03-23 17:29:29 +01:00
parent 51dfb8cd7f
commit d6aad53da9

View File

@ -8,11 +8,11 @@ import {
} from "../EventGroupingHtmlRenderer";
export default class Calendar {
private readonly jsonContent: object;
public groupType: GroupTypes;
public events: Events;
public readonly jsonContent: object;
public readonly groupType: GroupTypes;
public readonly events: Events;
constructor(json) {
constructor(json: object) {
this.jsonContent = json;
this.groupType = json["group"]
? json["group"].charAt(0).toUpperCase()