chore: Add TODO for broken types

Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
This commit is contained in:
Tim Hårek Andreassen 2024-03-02 18:41:52 +01:00
parent 0ee40d946d
commit 8fb7c553ce
No known key found for this signature in database
GPG Key ID: E59C7734F0E10EB5
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@ import { FreshContext } from "$fresh/server.ts";
import { parse, toSeconds } from "https://esm.sh/iso8601-duration@2.1.1"; import { parse, toSeconds } from "https://esm.sh/iso8601-duration@2.1.1";
import { nrkRadio, OriginalEpisode } from "../../../../../lib/nrk.ts"; import { nrkRadio, OriginalEpisode } from "../../../../../lib/nrk.ts";
// TODO: This type `OriginalEpisode` is missing stuff.
function toChapters(episode: OriginalEpisode) { function toChapters(episode: OriginalEpisode) {
return episode.indexPoints.map((indexPoint) => ({ return episode.indexPoints.map((indexPoint) => ({
title: indexPoint.title, title: indexPoint.title,