added tv show endpoints
This commit is contained in:
@@ -6,6 +6,7 @@ import {
|
||||
GenreEndpoint,
|
||||
MoviesEndpoint,
|
||||
SearchEndpoint,
|
||||
TvShowsEndpoint,
|
||||
ConfigurationEndpoint,
|
||||
} from './endpoints';
|
||||
|
||||
@@ -47,4 +48,8 @@ export default class TMDB {
|
||||
get movies(): MoviesEndpoint{
|
||||
return new MoviesEndpoint(this.accessToken);
|
||||
}
|
||||
|
||||
get tvShows(): TvShowsEndpoint{
|
||||
return new TvShowsEndpoint(this.accessToken);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user