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

Function isEmptyResolvedType

test/fixtures/snapshot/typescript.js:64497–64503  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

64495 return false;
64496 }
64497 function isEmptyResolvedType(t) {
64498 return t !== anyFunctionType &&
64499 t.properties.length === 0 &&
64500 t.callSignatures.length === 0 &&
64501 t.constructSignatures.length === 0 &&
64502 t.indexInfos.length === 0;
64503 }
64504 function isEmptyObjectType(type) {
64505 return type.flags & 524288 /* TypeFlags.Object */ ? !isGenericMappedType(type) && isEmptyResolvedType(resolveStructuredTypeMembers(type)) :
64506 type.flags & 67108864 /* TypeFlags.NonPrimitive */ ? true :

Callers 3

removeSubtypesFunction · 0.85
isEmptyObjectTypeFunction · 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…