From eece5568831a43b8c7b2aea0fe51c89a94accd73 Mon Sep 17 00:00:00 2001 From: throwaway96 <68320646+throwaway96@users.noreply.github.com> Date: Thu, 7 Mar 2024 20:02:32 -0500 Subject: [PATCH] adapter.ts: fix type of asyncPipeline() --- services/adapter.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/adapter.ts b/services/adapter.ts index 47c79f5..9abc43d 100644 --- a/services/adapter.ts +++ b/services/adapter.ts @@ -21,9 +21,9 @@ fetch.Promise = Bluebird.Promise; // Sadly these need to be manually typed according to // https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node -// since types infered from Bluebird.Promise.promisify are wrong. -// @ts-expect-error +// since types inferred from Bluebird.Promise.promisify are wrong. export const asyncPipeline: ( + arg1: NodeJS.ReadableStream, ...args: ReadonlyArray ) => Promise = Bluebird.Promise.promisify(pipeline); export const asyncExecFile: (