Skip to content

Commit 8c20098

Browse files
committed
Add JSDoc param.
1 parent 30228d3 commit 8c20098

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Task/Occurrence.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ export class Occurrence {
8787
* If the occurrence has no reference date, an empty {@link Occurrence} will be returned.
8888
*
8989
* @param nextReferenceDate
90+
* @param dropScheduledDate - Optional boolean to drop the scheduled date from the next occurrence so long as a start or due date exists.
9091
*/
9192
public next(nextReferenceDate: Date, dropScheduledDate: boolean = false): Occurrence {
9293
// Only if a reference date is given. A reference date will exist if at

src/Task/Recurrence.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export class Recurrence {
7272
* Returns the dates of the next occurrence or null if there is no next occurrence.
7373
*
7474
* @param today - Optional date representing the completion date. Defaults to today.
75+
* @param dropScheduledDate - Optional boolean to drop the scheduled date from the next occurrence so long as a start or due date exists.
7576
*/
7677
public next(today = window.moment(), dropScheduledDate: boolean = false): Occurrence | null {
7778
const nextReferenceDate = this.nextReferenceDate(today);

0 commit comments

Comments
 (0)