Updated Calendar typings
This commit is contained in:
parent
51dfb8cd7f
commit
d6aad53da9
@ -8,11 +8,11 @@ import {
|
|||||||
} from "../EventGroupingHtmlRenderer";
|
} from "../EventGroupingHtmlRenderer";
|
||||||
|
|
||||||
export default class Calendar {
|
export default class Calendar {
|
||||||
private readonly jsonContent: object;
|
public readonly jsonContent: object;
|
||||||
public groupType: GroupTypes;
|
public readonly groupType: GroupTypes;
|
||||||
public events: Events;
|
public readonly events: Events;
|
||||||
|
|
||||||
constructor(json) {
|
constructor(json: object) {
|
||||||
this.jsonContent = json;
|
this.jsonContent = json;
|
||||||
this.groupType = json["group"]
|
this.groupType = json["group"]
|
||||||
? json["group"].charAt(0).toUpperCase()
|
? json["group"].charAt(0).toUpperCase()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user