MCPcopy Index your code
hub / github.com/microsoft/typescript-go / emitUnionTypeConstituent

Method emitUnionTypeConstituent

internal/printer/printer.go:2038–2040  ·  view source on GitHub ↗
(node *ast.TypeNode)

Source from the content-addressed store, hash-verified

2036}
2037
2038func (p *Printer) emitUnionTypeConstituent(node *ast.TypeNode) {
2039 p.emitTypeNode(node, ast.TypePrecedenceTypeOperator)
2040}
2041
2042func (p *Printer) emitUnionType(node *ast.UnionTypeNode) {
2043 state := p.enterNode(node.AsNode())

Callers

nothing calls this directly

Calls 1

emitTypeNodeMethod · 0.95

Tested by

no test coverage detected