Formatting with eslint

Should probably be configured to run for every commit in the future
This commit is contained in:
Tobias Karlsson
2023-04-13 08:59:54 +02:00
parent f092e23e72
commit 9a25d3bcf9
10 changed files with 200 additions and 200 deletions

View File

@@ -4,12 +4,12 @@ export type MediaType = 'all' | 'movie' | 'tv' | 'person';
export type TimeWindow = 'day' | 'week';
type TrendingResult<T extends MediaType> = T extends 'tv'
? TV
: T extends 'movie'
? Movie
: T extends 'person'
? Person
: TV | Movie | Person;
? TV
: T extends 'movie'
? Movie
: T extends 'person'
? Person
: TV | Movie | Person;
export interface TrendingResults<T extends MediaType> {
page: number;