Code refactoring
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
interface IDownloadInfo {
|
||||
formats: Array<IDownloadInfoSection>,
|
||||
best: IDownloadInfoSection,
|
||||
export interface IDownloadMetadata {
|
||||
formats: Array<IDownloadFormat>,
|
||||
best: IDownloadFormat,
|
||||
thumbnail: string,
|
||||
title: string,
|
||||
}
|
||||
|
||||
interface IDownloadInfoSection {
|
||||
export interface IDownloadFormat {
|
||||
format_id: string,
|
||||
format_note: string,
|
||||
fps: number,
|
||||
@@ -1,4 +1,5 @@
|
||||
export interface ISettings {
|
||||
download_path: string,
|
||||
cliArgs?: string[],
|
||||
port?: number,
|
||||
}
|
||||
Reference in New Issue
Block a user