fixed bug with undefined second parameter
This commit is contained in:
@@ -37,7 +37,7 @@ export class TvShowsEndpoint extends BaseEndpoint {
|
||||
super(accessToken);
|
||||
}
|
||||
|
||||
async details<T extends AppendToResponseTvKeys[]>(
|
||||
async details<T extends AppendToResponseTvKeys[] | undefined>(
|
||||
id: number,
|
||||
appendToResponse?: T
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user