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

Function getPropertiesOfType

test/fixtures/snapshot/typescript.js:58769–58774  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

58767 return type.resolvedProperties;
58768 }
58769 function getPropertiesOfType(type) {
58770 type = getReducedApparentType(type);
58771 return type.flags & 3145728 /* TypeFlags.UnionOrIntersection */ ?
58772 getPropertiesOfUnionOrIntersectionType(type) :
58773 getPropertiesOfObjectType(type);
58774 }
58775 function forEachPropertyOfType(type, action) {
58776 type = getReducedApparentType(type);
58777 if (type.flags & 3670016 /* TypeFlags.StructuredType */) {

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…