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

Function checkGrammarClassLikeDeclaration

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

Source from the content-addressed store, hash-verified

88101 (ts.isFunctionLikeDeclaration(node) && checkGrammarForUseStrictSimpleParameterList(node));
88102 }
88103 function checkGrammarClassLikeDeclaration(node) {
88104 var file = ts.getSourceFileOfNode(node);
88105 return checkGrammarClassDeclarationHeritageClauses(node) ||
88106 checkGrammarTypeParameterList(node.typeParameters, file);
88107 }
88108 function checkGrammarArrowFunction(node, file) {
88109 if (!ts.isArrowFunction(node)) {
88110 return false;

Callers 1

Tested by

no test coverage detected