diff --git a/src/destreamer.ts b/src/destreamer.ts index 967ce24..4218803 100644 --- a/src/destreamer.ts +++ b/src/destreamer.ts @@ -160,7 +160,7 @@ async function downloadVideo(videoGUIDs: Array, let aria2cExec: ChildProcess | undefined; let arai2cExited = false; await portfinder.getPortPromise({ port: 6800 }).then( - async port => { + async (port: number) => { logger.debug(`[DESTREAMER] Trying to use port ${port}`); // Launch aria2c aria2cExec = exec(