From 8e5f880cbd7acf33a6018d4f0d1d3585d2eef5cc Mon Sep 17 00:00:00 2001 From: zkldi Date: Sun, 9 May 2021 22:16:03 +0100 Subject: [PATCH] change note to optional instead of null --- common/js/types.d.ts | 2 +- common/src/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/js/types.d.ts b/common/js/types.d.ts index 86f15ab81..e7f2bf6cd 100644 --- a/common/js/types.d.ts +++ b/common/js/types.d.ts @@ -468,7 +468,7 @@ export interface UserGoalDocument extends MongoDBDocument { } interface MilestoneGoalReference { goalID: string; - note: string | null; + note?: string; } interface MilestoneSection { title: string; diff --git a/common/src/types.ts b/common/src/types.ts index 13a473555..8ecd2190c 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -644,7 +644,7 @@ export interface UserGoalDocument extends MongoDBDocument { interface MilestoneGoalReference { goalID: string; - note: string | null; + note?: string; } interface MilestoneSection {