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

Function isTopLevelInExternalModuleAugmentation

test/fixtures/snapshot/typescript.js:55398–55402  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

55396 return undefined;
55397 }
55398 function isTopLevelInExternalModuleAugmentation(node) {
55399 return node && node.parent &&
55400 node.parent.kind === 262 /* SyntaxKind.ModuleBlock */ &&
55401 ts.isExternalModuleAugmentation(node.parent.parent);
55402 }
55403 function isDefaultBindingContext(location) {
55404 return location.kind === 305 /* SyntaxKind.SourceFile */ || ts.isAmbientModule(location);
55405 }

Calls

no outgoing calls

Tested by

no test coverage detected