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

Function addCandidateThisType

test/fixtures/snapshot/typescript.js:157510–157514  ·  view source on GitHub ↗
(usage, type)

Source from the content-addressed store, hash-verified

157508 }
157509 }
157510 function addCandidateThisType(usage, type) {
157511 if (type && !(type.flags & 1 /* TypeFlags.Any */) && !(type.flags & 131072 /* TypeFlags.Never */)) {
157512 (usage.candidateThisTypes || (usage.candidateThisTypes = [])).push(type);
157513 }
157514 }
157515 }
157516 })(codefix = ts.codefix || (ts.codefix = {}));
157517})(ts || (ts = {}));

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected