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

Function isCircularMappedProperty

test/fixtures/snapshot/typescript.js:72759–72761  ·  view source on GitHub ↗
(symbol)

Source from the content-addressed store, hash-verified

72757 return nameStr !== undefined && getTypeOfPropertyOfContextualType(thisType, nameStr) || undefined;
72758 }
72759 function isCircularMappedProperty(symbol) {
72760 return !!(ts.getCheckFlags(symbol) & 262144 /* CheckFlags.Mapped */ && !symbol.type && findResolutionCycleStartIndex(symbol, 0 /* TypeSystemPropertyName.Type */) >= 0);
72761 }
72762 function getTypeOfPropertyOfContextualType(type, name, nameType) {
72763 return mapType(type, function (t) {
72764 var _a;

Callers 1

Calls 1

Tested by

no test coverage detected