芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/app.optimyar.com/backend/node_modules/@types/node/stream/consumers.d.ts
// Duplicates of interface in lib.dom.ts. // Duplicated here rather than referencing lib.dom.ts because doing so causes lib.dom.ts to be loaded for "test-all" // Which in turn causes tests to pass that shouldn't pass. // // This interface is not, and should not be, exported. interface Blob { readonly size: number; readonly type: string; arrayBuffer(): Promise
; slice(start?: number, end?: number, contentType?: string): Blob; stream(): NodeJS.ReadableStream; text(): Promise
; } declare module 'stream/consumers' { import { Readable } from 'node:stream'; function buffer(stream: NodeJS.ReadableStream | Readable | AsyncIterator
): Promise
; function text(stream: NodeJS.ReadableStream | Readable | AsyncIterator
): Promise
; function arrayBuffer(stream: NodeJS.ReadableStream | Readable | AsyncIterator
): Promise
; function blob(stream: NodeJS.ReadableStream | Readable | AsyncIterator
): Promise
; function json(stream: NodeJS.ReadableStream | Readable | AsyncIterator
): Promise
; } declare module 'node:stream/consumers' { export * from 'stream/consumers'; }