You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ytDownloader/src/types.d.ts

29 lines
481 B
TypeScript

type format = {
vcodec?: string,
acodec?: string,
ext: string,
filesize?: number,
format_id: string,
format_note: string,
height: number,
resolution: string,
video_ext: string,
audio_ext: string,
filesize_approx?: number,
tbr: number,
fps: number,
}
type info = {
title: string,
id: string,
thumbnail: string,
duration: number,
formats: format[],
extractor_key: string,
}
export {
format,
info
}