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

Function bindInStrictMode

test/fixtures/snapshot/typescript.js:44788–44796  ·  view source on GitHub ↗
(file, opts)

Source from the content-addressed store, hash-verified

44786 }
44787 return bindSourceFile;
44788 function bindInStrictMode(file, opts) {
44789 if (ts.getStrictOptionValue(opts, "alwaysStrict") && !file.isDeclarationFile) {
44790 // bind in strict mode source files with alwaysStrict option
44791 return true;
44792 }
44793 else {
44794 return !!file.externalModuleIndicator;
44795 }
44796 }
44797 function createSymbol(flags, name) {
44798 symbolCount++;
44799 return new Symbol(flags, name);

Callers 1

bindSourceFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected