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

Function isAmbientModuleDeclaration

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

Source from the content-addressed store, hash-verified

136798 return ts.cast(parent.parent, isAmbientModuleDeclaration);
136799 }
136800 function isAmbientModuleDeclaration(node) {
136801 return node.kind === 261 /* SyntaxKind.ModuleDeclaration */ && node.name.kind === 10 /* SyntaxKind.StringLiteral */;
136802 }
136803 function isExternalModuleImportEquals(eq) {
136804 return eq.moduleReference.kind === 277 /* SyntaxKind.ExternalModuleReference */ && eq.moduleReference.expression.kind === 10 /* SyntaxKind.StringLiteral */;
136805 }

Callers 2

isExportedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected