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

Function checkEnumDeclaration

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

Source from the content-addressed store, hash-verified

84843 ts.isStringLiteralLike(node.argumentExpression);
84844 }
84845 function checkEnumDeclaration(node) {
84846 addLazyDiagnostic(function () { return checkEnumDeclarationWorker(node); });
84847 }
84848 function checkEnumDeclarationWorker(node) {
84849 // Grammar checking
84850 checkGrammarDecoratorsAndModifiers(node);

Callers 1

checkSourceElementWorkerFunction · 0.85

Calls 2

addLazyDiagnosticFunction · 0.85

Tested by

no test coverage detected