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

Function emitArrayType

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

Source from the content-addressed store, hash-verified

111965 writePunctuation("}");
111966 }
111967 function emitArrayType(node) {
111968 emit(node.elementType, parenthesizer.parenthesizeNonArrayTypeOfPostfixType);
111969 writePunctuation("[");
111970 writePunctuation("]");
111971 }
111972 function emitRestOrJSDocVariadicType(node) {
111973 writePunctuation("...");
111974 emit(node.type);

Callers 1

Calls 2

writePunctuationFunction · 0.85
emitFunction · 0.70

Tested by

no test coverage detected