How to Remove Null Type from a Schema
Another question: Is it possible to remove null type from a schema?
const notes1 = Schema.NullOr(Schema.String), // notes1: string | null
const notes2: Schema.optionalWith(notes1, {exact: true}); // notes2?: string | null <-- want to remove null here