Sha256: 785e5be57d4f20f290a20e7b0c6263f6c57fd6e51283050756cef07d6d651c68

Contents?: true

Size: 727 Bytes

Versions: 2

Compression:

Stored size: 727 Bytes

Contents

declare module 'stream/consumers' {
    import { Blob as NodeBlob } from 'node:buffer';
    import { Readable } from 'node:stream';
    function buffer(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<Buffer>;
    function text(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<string>;
    function arrayBuffer(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<ArrayBuffer>;
    function blob(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<NodeBlob>;
    function json(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<unknown>;
}
declare module 'node:stream/consumers' {
    export * from 'stream/consumers';
}

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
waves_lib-0.1.0 js/node_modules/@types/node/stream/consumers.d.ts
waves_lib-0.1.0 js/node_modules/@types/node/ts4.8/stream/consumers.d.ts