Skip to content

Commit

Permalink
fix: cast to TaskItem
Browse files Browse the repository at this point in the history
  • Loading branch information
axelrindle committed Apr 16, 2024
1 parent 070314c commit f36a319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/task-data-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export default class TaskDataProvider implements TreeDataProvider<TreeItem> {
return undefined
})
.filter(notEmpty)
.sort((a, b) => a.task.name.localeCompare(b.task.name))
.sort((a, b) => a.task.name.localeCompare(b.task.name)) as TaskItem[]

return favorites.concat(result)
}
Expand Down

0 comments on commit f36a319

Please sign in to comment.