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

Function checkTypeLiteralDiagnostics

test/fixtures/snapshot/typescript.js:80707–80712  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80705 ts.forEach(node.members, checkSourceElement);
80706 addLazyDiagnostic(checkTypeLiteralDiagnostics);
80707 function checkTypeLiteralDiagnostics() {
80708 var type = getTypeFromTypeLiteralOrFunctionOrConstructorTypeNode(node);
80709 checkIndexConstraints(type, type.symbol);
80710 checkTypeForDuplicateIndexSignatures(node);
80711 checkObjectTypeForDuplicateDeclarations(node);
80712 }
80713 }
80714 function checkArrayType(node) {
80715 checkSourceElement(node.elementType);

Callers

nothing calls this directly

Tested by

no test coverage detected