From 2543f22b5dd90969b38448c2e336d8057143ce56 Mon Sep 17 00:00:00 2001 From: Veloi <85405932+veloii@users.noreply.github.com> Date: Sat, 23 Sep 2023 19:06:19 +0100 Subject: [PATCH] Update types.ts fix: last_seen_date and first_seen_date on homework to be nullable --- src/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types.ts b/src/types.ts index 8117abe..0cf7132 100644 --- a/src/types.ts +++ b/src/types.ts @@ -192,8 +192,8 @@ export interface Homework { mark_relative: number; ticked: "yes" | "no"; allow_attachments: boolean; - first_seen_date: string; - last_seen_date: string; + first_seen_date: string | null; + last_seen_date: string | null; attachments: Array; has_feedback: boolean; };