MCPcopy Create free account
hub / github.com/nodejs/node / checkGrammarIndexSignature

Function checkGrammarIndexSignature

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

Source from the content-addressed store, hash-verified

88158 return false;
88159 }
88160 function checkGrammarIndexSignature(node) {
88161 // Prevent cascading error by short-circuit
88162 return checkGrammarDecoratorsAndModifiers(node) || checkGrammarIndexSignatureParameters(node);
88163 }
88164 function checkGrammarForAtLeastOneTypeArgument(node, typeArguments) {
88165 if (typeArguments && typeArguments.length === 0) {
88166 var sourceFile = ts.getSourceFileOfNode(node);

Callers 1

Tested by

no test coverage detected