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

Function reportCircularBaseType

test/fixtures/snapshot/typescript.js:57170–57172  ·  view source on GitHub ↗
(node, type)

Source from the content-addressed store, hash-verified

57168 return resolvedImplementsTypes;
57169 }
57170 function reportCircularBaseType(node, type) {
57171 error(node, ts.Diagnostics.Type_0_recursively_references_itself_as_a_base_type, typeToString(type, /*enclosingDeclaration*/ undefined, 2 /* TypeFormatFlags.WriteArrayAsGenericType */));
57172 }
57173 function getBaseTypes(type) {
57174 if (!type.baseTypesResolved) {
57175 if (pushTypeResolution(type, 7 /* TypeSystemPropertyName.ResolvedBaseTypes */)) {

Callers 2

getBaseTypesFunction · 0.85

Calls 2

typeToStringFunction · 0.85
errorFunction · 0.70

Tested by

no test coverage detected