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

Function getPropagatingFlagsOfTypes

test/fixtures/snapshot/typescript.js:60194–60203  ·  view source on GitHub ↗
(types, excludeKinds)

Source from the content-addressed store, hash-verified

60192 // of an object literal or the anyFunctionType. This is because there are operations in the type checker
60193 // that care about the presence of such types at arbitrary depth in a containing type.
60194 function getPropagatingFlagsOfTypes(types, excludeKinds) {
60195 var result = 0;
60196 for (var _i = 0, types_8 = types; _i < types_8.length; _i++) {
60197 var type = types_8[_i];
60198 if (!(type.flags & excludeKinds)) {
60199 result |= ts.getObjectFlags(type);
60200 }
60201 }
60202 return result & 458752 /* ObjectFlags.PropagatingFlags */;
60203 }
60204 function createTypeReference(target, typeArguments) {
60205 var id = getTypeListId(typeArguments);
60206 var type = target.instantiations.get(id);

Callers 3

createTypeReferenceFunction · 0.85
createIntersectionTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…