interface CompressionStream
Usage in Deno
import { type CompressionStream } from "node:stream/web";
readonly
readable: ReadableStream
readonly
writable: WritableStream
import { type CompressionStream } from "node:stream/web";
readable: ReadableStream
writable: WritableStream
CompressionStream
class is a global reference for import { CompressionStream } from 'node:stream/web'
.
https://nodejs.org/api/globals.html#class-compressionstream
globalThis extends { onmessage: any; ReportingObserver: any; CompressionStream: infer T; } ? T : globalThis extends { onmessage: any; TransformStream: { prototype: infer T; }; } ? { prototype: T; } : stream/web