From 2d8f89ae85efa17ea51f622ae1a6456943e1c420 Mon Sep 17 00:00:00 2001 From: Retro Date: Sat, 3 Aug 2024 12:57:46 +0630 Subject: [PATCH] Fix: Building errors in attachment --- packages/extractor/src/extractors/AttachmentExtractor.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/extractor/src/extractors/AttachmentExtractor.ts b/packages/extractor/src/extractors/AttachmentExtractor.ts index e8c0bd6b6..34bc54db3 100644 --- a/packages/extractor/src/extractors/AttachmentExtractor.ts +++ b/packages/extractor/src/extractors/AttachmentExtractor.ts @@ -105,7 +105,6 @@ export class AttachmentExtractor extends BaseExtractor { track.extractor = this; - // @ts-expect-error track.raw.isFile = false; return { playlist: null, tracks: [track] }; @@ -180,7 +179,6 @@ export class AttachmentExtractor extends BaseExtractor { track.extractor = this; - // @ts-expect-error track.raw.isFile = true; return { playlist: null, tracks: [track] }; @@ -196,7 +194,7 @@ export class AttachmentExtractor extends BaseExtractor { public async stream(info: Track) { const engine = info.raw.engine as string; - // @ts-expect-error + const isFile = info.raw.isFile as boolean; if (!engine) throw new Error('Could not find stream source');