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

Function isAliasableOrJsExpression

test/fixtures/snapshot/typescript.js:50391–50393  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

50389 || node.kind === 203 /* SyntaxKind.BindingElement */ && ts.isVariableDeclarationInitializedToBareOrAccessedRequire(node.parent.parent);
50390 }
50391 function isAliasableOrJsExpression(e) {
50392 return ts.isAliasableExpression(e) || ts.isFunctionExpression(e) && isJSConstructor(e);
50393 }
50394 function getTargetOfImportEqualsDeclaration(node, dontResolveAlias) {
50395 var commonJSPropertyAccess = getCommonJSPropertyAccess(node);
50396 if (commonJSPropertyAccess) {

Callers 1

isAliasSymbolDeclarationFunction · 0.85

Calls 1

isJSConstructorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…