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

Function getOptionPathsSyntax

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

Source from the content-addressed store, hash-verified

119140 return compilerOptionsObjectLiteralSyntax && ts.getPropertyAssignment(compilerOptionsObjectLiteralSyntax, name);
119141 }
119142 function getOptionPathsSyntax() {
119143 return getOptionsSyntaxByName("paths") || ts.emptyArray;
119144 }
119145 function getOptionsSyntaxByValue(name, value) {
119146 var syntaxByName = getOptionsSyntaxByName(name);
119147 return syntaxByName && ts.firstDefined(syntaxByName, function (property) { return ts.isStringLiteral(property.initializer) && property.initializer.text === value ? property.initializer : undefined; });

Calls 1

getOptionsSyntaxByNameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…