MCPcopy Create free account
hub / github.com/nodejs/node / emitTripleSlashDirectivesIfNeeded

Function emitTripleSlashDirectivesIfNeeded

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

Source from the content-addressed store, hash-verified

113486 }
113487 }
113488 function emitTripleSlashDirectivesIfNeeded(node) {
113489 if (node.isDeclarationFile)
113490 emitTripleSlashDirectives(node.hasNoDefaultLib, node.referencedFiles, node.typeReferenceDirectives, node.libReferenceDirectives);
113491 }
113492 function emitTripleSlashDirectives(hasNoDefaultLib, files, types, libs) {
113493 if (hasNoDefaultLib) {
113494 var pos = writer.getTextPos();

Callers 1

emitSourceFileWorkerFunction · 0.85

Calls 1

Tested by

no test coverage detected