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

Function emitInferType

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

Source from the content-addressed store, hash-verified

112013 emit(node.falseType);
112014 }
112015 function emitInferType(node) {
112016 writeKeyword("infer");
112017 writeSpace();
112018 emit(node.typeParameter);
112019 }
112020 function emitParenthesizedType(node) {
112021 writePunctuation("(");
112022 emit(node.type);

Callers 1

Calls 3

writeKeywordFunction · 0.85
writeSpaceFunction · 0.85
emitFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…