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

Function createAddOutput

test/fixtures/snapshot/typescript.js:110102–110113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110100 undefined;
110101 }
110102 function createAddOutput() {
110103 var outputs;
110104 return { addOutput: addOutput, getOutputs: getOutputs };
110105 function addOutput(path) {
110106 if (path) {
110107 (outputs || (outputs = [])).push(path);
110108 }
110109 }
110110 function getOutputs() {
110111 return outputs || ts.emptyArray;
110112 }
110113 }
110114 function getSingleOutputFileNames(configFile, addOutput) {
110115 var _a = getOutputPathsForBundle(configFile.options, /*forceDtsPaths*/ false), jsFilePath = _a.jsFilePath, sourceMapFilePath = _a.sourceMapFilePath, declarationFilePath = _a.declarationFilePath, declarationMapPath = _a.declarationMapPath, buildInfoPath = _a.buildInfoPath;
110116 addOutput(jsFilePath);

Callers 2

getAllProjectOutputsFunction · 0.85
getOutputFileNamesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…