MCPcopy
hub / github.com/Effect-TS/effect / header

Function header

packages/printer/test/docTree.test.ts:111–112  ·  view source on GitHub ↗
(doc: Doc.Doc<SimpleHtml>, level: number)

Source from the content-addressed store, hash-verified

109 const paragraph = (doc: Doc.Doc<SimpleHtml>): Doc.Doc<SimpleHtml> => Doc.annotate(doc, { _tag: "Paragraph" })
110
111 const header = (doc: Doc.Doc<SimpleHtml>, level: number): Doc.Doc<SimpleHtml> =>
112 Doc.annotate(doc, { _tag: "Header", level })
113
114 const colorToHex = (color: "Red" | "Green" | "Blue"): string => {
115 switch (color) {

Callers 1

docTree.test.tsFile · 0.85

Calls 1

annotateMethod · 0.65

Tested by

no test coverage detected