refactored Keywords to use Keyword interface
This commit is contained in:
@@ -125,13 +125,3 @@ export interface Videos {
|
||||
id: number;
|
||||
results: Video[];
|
||||
}
|
||||
|
||||
export interface Keywords {
|
||||
id: number;
|
||||
keywords: Array<{
|
||||
id: number;
|
||||
name: string;
|
||||
}>
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -17,3 +17,8 @@ export interface Keyword{
|
||||
id: number;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface Keywords {
|
||||
id: number;
|
||||
keywords: Keyword[];
|
||||
}
|
||||
Reference in New Issue
Block a user