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

Function getSingleVariableOfVariableStatement

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

Source from the content-addressed store, hash-verified

16883 }
16884 ts.getSingleInitializerOfVariableStatementOrPropertyDeclaration = getSingleInitializerOfVariableStatementOrPropertyDeclaration;
16885 function getSingleVariableOfVariableStatement(node) {
16886 return ts.isVariableStatement(node) ? ts.firstOrUndefined(node.declarationList.declarations) : undefined;
16887 }
16888 ts.getSingleVariableOfVariableStatement = getSingleVariableOfVariableStatement;
16889 function getNestedModuleDeclaration(node) {
16890 return ts.isModuleDeclaration(node) &&

Calls

no outgoing calls

Tested by

no test coverage detected