Closed arturmuller closed 1 year ago
As per https://github.com/ianstormtaylor/superstruct/issues/1095.
Note that I also added a short "robot tip" about the typing of refiner function's value, as I felt it might be reassuring to know that value.startDate < value.endDate is guaranteed to be safe.
value
value.startDate < value.endDate
Thank you @arturmuller, this is awesome!
As per https://github.com/ianstormtaylor/superstruct/issues/1095.
Note that I also added a short "robot tip" about the typing of refiner function's
value
, as I felt it might be reassuring to know thatvalue.startDate < value.endDate
is guaranteed to be safe.