Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unhittable `??` in `getNextMonth.ts` Found by microsoft/TypeScript#59217. `numberOfMonths` can't be `undefined` (it's defaulted to `1` at declaration), and `monthsDiff < numberOfMonths ?? 1` is a syntactic mistake anyway (it parses as `(m < n) ?? 1`, not `m < (n ?? 1)` Co-authored-by: Giampaolo Bellavite <[email protected]>
- Loading branch information