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.
m3u8-downloader-TypeScript/types/common.d.ts

13 lines
299 B
TypeScript

// 从主进程中想渲染进程发送的参数
declare interface SourceUrl {
title: string;
details: Electron.OnBeforeSendHeadersListenerDetails;
}
declare function SourceUrlToRenderer(
event: Electron.IpcRendererEvent,
url: SourceUrl
): void;
export { SourceUrl, SourceUrlToRenderer };