MCPcopy Create free account
hub / github.com/fabien0102/openapi-codegen / print

Function print

plugins/typescript/src/testUtils.ts:14–15  ·  view source on GitHub ↗
(node: ts.Node)

Source from the content-addressed store, hash-verified

12 * Print a typescript node
13 */
14export const print = (node: ts.Node) =>
15 printer.printNode(ts.EmitHint.Unspecified, node, sourceFile);
16
17/**
18 * Create a mock (like `vi.fn()`) with embedded prettier step.

Calls

no outgoing calls

Tested by

no test coverage detected