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

Function isAmbientModule

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

Source from the content-addressed store, hash-verified

14980 }
14981 ts.isCatchClauseVariableDeclarationOrBindingElement = isCatchClauseVariableDeclarationOrBindingElement;
14982 function isAmbientModule(node) {
14983 return ts.isModuleDeclaration(node) && (node.name.kind === 10 /* SyntaxKind.StringLiteral */ || isGlobalScopeAugmentation(node));
14984 }
14985 ts.isAmbientModule = isAmbientModule;
14986 function isModuleWithStringLiteralName(node) {
14987 return ts.isModuleDeclaration(node) && node.name.kind === 10 /* SyntaxKind.StringLiteral */;

Callers 2

Calls 1

Tested by

no test coverage detected