MCPcopy
hub / github.com/C4illin/ConvertX / makeSink

Function makeSink

tests/converters/libreoffice.test.ts:38–41  ·  view source on GitHub ↗
(sink: string[])

Source from the content-addressed store, hash-verified

36// Use Console["log"] for typing; avoids explicit `any`
37const makeSink =
38 (sink: string[]): Console["log"] =>
39 (...data) => {
40 sink.push(data.map(String).join(" "));
41 };
42
43beforeEach(() => {
44 calls = [];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected