This commit is contained in:
hellcat committed 2025-10-03 17:17:08 +08:00
1 parent 1fe8673f62
commit 6adbc04d4b
12814 files changed
+2522618

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
import { type Handler, type ParserOptions } from "./Parser.js";
import { Writable } from "node:stream";
/**
* WritableStream makes the `Parser` interface available as a NodeJS stream.
*
* @see Parser
*/
export declare class WritableStream extends Writable {
private readonly _parser;
private readonly _decoder;
constructor(cbs: Partial<Handler>, options?: ParserOptions);
_write(chunk: string | Buffer, encoding: string, callback: () => void): void;
_final(callback: () => void): void;
}
//# sourceMappingURL=WritableStream.d.ts.map