Fix TypeScript error: add type annotation for implicit any parameter
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
0f13aee7fb
commit
5e49c0f18d
|
|
@ -61,7 +61,7 @@ export async function GET(
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
const songs = songGenres.map((sg) => sg.song)
|
const songs = songGenres.map((sg: (typeof songGenres)[number]) => sg.song)
|
||||||
|
|
||||||
return NextResponse.json({
|
return NextResponse.json({
|
||||||
genre,
|
genre,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue