MCPcopy Index your code
hub / github.com/nodejs/node / emitMappedTypeParameter

Function emitMappedTypeParameter

test/fixtures/snapshot/typescript.js:111548–111554  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

111546 ts.Debug.fail("Unhandled SyntaxKind: ".concat(ts.Debug.formatSyntaxKind(node.kind), "."));
111547 }
111548 function emitMappedTypeParameter(node) {
111549 emit(node.name);
111550 writeSpace();
111551 writeKeyword("in");
111552 writeSpace();
111553 emit(node.constraint);
111554 }
111555 function pipelineEmitWithSubstitution(hint, node) {
111556 var pipelinePhase = getNextPipelinePhase(1 /* PipelinePhase.Substitution */, hint, node);
111557 ts.Debug.assertIsDefined(lastSubstitution);

Callers 1

Calls 3

writeSpaceFunction · 0.85
writeKeywordFunction · 0.85
emitFunction · 0.70

Tested by

no test coverage detected