refactor: Better types #17

Merged
timharek merged 11 commits from feature-better-type-safety into main 2024-04-02 12:57:30 +00:00
1 changed files with 3 additions and 1 deletions
Showing only changes of commit 8950028f5b - Show all commits

View File

@ -30,7 +30,9 @@ const manifestSchema = z.object({
}),
});
/** Incomplete manifest types. */
/** Incomplete manifest types.
* TODO: Add OpenAPI Manifest to `generate-types.ts`.
*/
type Manifest = z.infer<typeof manifestSchema>;
const nrkAPI = `https://psapi.nrk.no`;