From d6aad53da99aa1c52493ef540deb4e6929ef88ac Mon Sep 17 00:00:00 2001 From: Franco Speziali Date: Wed, 23 Mar 2022 17:29:29 +0100 Subject: [PATCH] Updated Calendar typings --- src/Calendar/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Calendar/index.ts b/src/Calendar/index.ts index 16ac2f0..e0a8aa9 100644 --- a/src/Calendar/index.ts +++ b/src/Calendar/index.ts @@ -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()