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 {