UNPKG

@whatwg-node/node-fetch

Version:

Fetch API implementation for Node

10 lines (9 loc) 351 B
import { Writable } from 'node:stream'; export declare class PonyfillWritableStream<W = any> implements WritableStream<W> { writable: Writable; constructor(underlyingSink?: UnderlyingSink<W> | Writable); getWriter(): WritableStreamDefaultWriter<W>; close(): Promise<void>; abort(reason: any): Promise<void>; locked: boolean; }