Skip to content

Commit 208599b

Browse files
committed
comment: Explain a super.identicalTo() call
1 parent 3d51640 commit 208599b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Task/Task.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -796,6 +796,7 @@ export class Task extends ListItem {
796796
* @param other
797797
*/
798798
public identicalTo(other: Task) {
799+
// First compare child Task and ListItem objects, and any other data in ListItem:
799800
if (!super.identicalTo(other)) {
800801
return false;
801802
}

0 commit comments

Comments
 (0)