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

Function emitTypeAliasDeclaration

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

Source from the content-addressed store, hash-verified

112894 writePunctuation("}");
112895 }
112896 function emitTypeAliasDeclaration(node) {
112897 emitDecorators(node, node.decorators);
112898 emitModifiers(node, node.modifiers);
112899 writeKeyword("type");
112900 writeSpace();
112901 emit(node.name);
112902 emitTypeParameters(node, node.typeParameters);
112903 writeSpace();
112904 writePunctuation("=");
112905 writeSpace();
112906 emit(node.type);
112907 writeTrailingSemicolon();
112908 }
112909 function emitEnumDeclaration(node) {
112910 emitModifiers(node, node.modifiers);
112911 writeKeyword("enum");

Callers 1

Calls 8

emitDecoratorsFunction · 0.85
emitModifiersFunction · 0.85
writeKeywordFunction · 0.85
writeSpaceFunction · 0.85
emitTypeParametersFunction · 0.85
writePunctuationFunction · 0.85
writeTrailingSemicolonFunction · 0.85
emitFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…