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

Function isValidESSymbolDeclaration

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

Source from the content-addressed store, hash-verified

15750 }
15751 ts.isCommonJsExportPropertyAssignment = isCommonJsExportPropertyAssignment;
15752 function isValidESSymbolDeclaration(node) {
15753 return (ts.isVariableDeclaration(node) ? isVarConst(node) && ts.isIdentifier(node.name) && isVariableDeclarationInVariableStatement(node) :
15754 ts.isPropertyDeclaration(node) ? hasEffectiveReadonlyModifier(node) && hasStaticModifier(node) :
15755 ts.isPropertySignature(node) && hasEffectiveReadonlyModifier(node)) || isCommonJsExportPropertyAssignment(node);
15756 }
15757 ts.isValidESSymbolDeclaration = isValidESSymbolDeclaration;
15758 function introducesArgumentsExoticObject(node) {
15759 switch (node.kind) {

Callers

nothing calls this directly

Calls 5

isVarConstFunction · 0.85
hasStaticModifierFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…