Use union types for Region, Language, and Page options
This commit is contained in:
@@ -7,7 +7,6 @@ export * from './movies';
|
||||
export * from './search';
|
||||
export * from './tv-shows';
|
||||
export * from './watch-providers';
|
||||
export * from './page';
|
||||
export * from './people';
|
||||
export * from './discover';
|
||||
export * from './review';
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
export interface PageOptions {
|
||||
page?: number;
|
||||
}
|
||||
|
||||
export interface LocaleOptions extends PageOptions {
|
||||
region?: string;
|
||||
language?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user