-
Couldn't load subscription status.
- Fork 9
Open
Description
Problem
The downloadRetrieve method is typed as returning a Readable node stream:
merge-node-client/src/api/resources/filestorage/resources/files/client/Client.ts
Line 330 in ffa041c
| ): Promise<stream.Readable> { |
The api does not return a node stream, it returns a ReadableStream
Steps to Reproduce
import { PassThrough, Readable } from 'node:stream'
const readable = await merge.filestorage.files.downloadRetrieve(fileId)
const isReadable = readable instanceof Readable // returns false
const isReadableStream = readable instanceof ReadableStream // returns trueWould it be possible to update the API to return a node stream instead of the web stream?
Metadata
Metadata
Assignees
Labels
No labels