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

Function getEndElementCount

test/fixtures/snapshot/typescript.js:61105–61107  ·  view source on GitHub ↗
(type, flags)

Source from the content-addressed store, hash-verified

61103 }
61104 // Return count of ending consecutive tuple elements of the given kind(s)
61105 function getEndElementCount(type, flags) {
61106 return type.elementFlags.length - ts.findLastIndex(type.elementFlags, function (f) { return !(f & flags); }) - 1;
61107 }
61108 function getTypeFromOptionalTypeNode(node) {
61109 return addOptionality(getTypeFromTypeNode(node.type), /*isProperty*/ true);
61110 }

Callers 2

propertiesRelatedToFunction · 0.85
inferFromObjectTypesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected