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

Function getStrictOptionValue

test/fixtures/snapshot/typescript.js:20344–20346  ·  view source on GitHub ↗
(compilerOptions, flag)

Source from the content-addressed store, hash-verified

20342 }
20343 ts.isIncrementalCompilation = isIncrementalCompilation;
20344 function getStrictOptionValue(compilerOptions, flag) {
20345 return compilerOptions[flag] === undefined ? !!compilerOptions.strict : !!compilerOptions[flag];
20346 }
20347 ts.getStrictOptionValue = getStrictOptionValue;
20348 function getAllowJSCompilerOption(compilerOptions) {
20349 return compilerOptions.allowJs === undefined ? !!compilerOptions.checkJs : compilerOptions.allowJs;

Callers 2

getCompilerOptionValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected