aboutsummaryrefslogtreecommitdiff
path: root/src/lib.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.ts')
-rw-r--r--src/lib.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.ts b/src/lib.ts
index a060fad..cd177ff 100644
--- a/src/lib.ts
+++ b/src/lib.ts
@@ -308,7 +308,7 @@ export type HistEventJson = {
}
export type EventResponseJson = {
events: HistEventJson[],
- unitCounts: {[x: number]: number},
+ unitCounts: {[x: number]: number} | null,
}
export function jsonToHistDate(json: HistDateJson){
if (json.gcal == null){