From 72e426cc037b268e25cc6899e69194bc5ec17ae7 Mon Sep 17 00:00:00 2001 From: killer069 <65385476+killer069@users.noreply.github.com> Date: Wed, 5 Jan 2022 12:07:39 +0530 Subject: [PATCH] Removed Seek option from stream. --- play-dl/index.ts | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/play-dl/index.ts b/play-dl/index.ts index f631c9b..8c3f16f 100644 --- a/play-dl/index.ts +++ b/play-dl/index.ts @@ -77,7 +77,7 @@ import { EventEmitter } from 'stream'; async function stream( url: string, - options: { seek?: number; seekMode?: 'precise' | 'granular' } & StreamOptions + options: { seek?: number } & StreamOptions ): Promise; async function stream(url: string, options?: StreamOptions): Promise; /** @@ -89,13 +89,8 @@ async function stream(url: string, options?: StreamOptions): Promise