Skip to content

Commit

Permalink
address review: add JSDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
kosmydel committed Jun 12, 2024
1 parent 11af4fd commit cfaaf5c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libs/SidebarUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ function compareStringDates(a: string, b: string): 0 | 1 | -1 {
return 0;
}

/**
* A mini report object that contains only the necessary information to sort reports.
* This is used to avoid copying the entire report object and only the necessary information.
*/
type MiniReport = {
reportID?: string;
displayName: string;
Expand Down

0 comments on commit cfaaf5c

Please sign in to comment.