fix: expliciete type voor tasks.map callback in planning page
This commit is contained in:
parent
5b225e744d
commit
d9692f908a
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ export default async function SprintPlanningPage({ params }: Props) {
|
|||
// Tasks by story
|
||||
const tasksByStory: Record<string, Task[]> = {}
|
||||
for (const story of sprintStories) {
|
||||
tasksByStory[story.id] = story.tasks.map(t => ({
|
||||
tasksByStory[story.id] = story.tasks.map((t: (typeof story.tasks)[number]) => ({
|
||||
id: t.id,
|
||||
title: t.title,
|
||||
description: t.description,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue