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

Function getOptionFromName

test/fixtures/snapshot/typescript.js:40696–40698  ·  view source on GitHub ↗

@internal

(optionName, allowShort)

Source from the content-addressed store, hash-verified

40694 ts.parseCommandLine = parseCommandLine;
40695 /** @internal */
40696 function getOptionFromName(optionName, allowShort) {
40697 return getOptionDeclarationFromName(getOptionsNameMap, optionName, allowShort);
40698 }
40699 ts.getOptionFromName = getOptionFromName;
40700 function getOptionDeclarationFromName(getOptionNameMap, optionName, allowShort) {
40701 if (allowShort === void 0) { allowShort = false; }

Callers 1

Calls 1

Tested by

no test coverage detected