Do not use undefined params
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { ParsedUrlQueryInput } from 'querystring';
|
||||
import { Movie } from '.';
|
||||
|
||||
export interface KeywordsOptions extends ParsedUrlQueryInput {
|
||||
export interface KeywordsOptions {
|
||||
include_adult?: boolean;
|
||||
language?: string;
|
||||
}
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
import { ParsedUrlQueryInput } from 'querystring';
|
||||
|
||||
export interface LanguageOption extends ParsedUrlQueryInput {
|
||||
language?: string;
|
||||
export interface LanguageOption {
|
||||
language?: string;
|
||||
}
|
||||
|
||||
export interface PageOption extends ParsedUrlQueryInput {
|
||||
page?: number;
|
||||
export interface PageOption {
|
||||
page?: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user