MCPcopy Index your code
hub / github.com/ternjs/tern / propagateWithWeight

Function propagateWithWeight

plugin/doc_comment.js:483–486  ·  view source on GitHub ↗
(type, target)

Source from the content-addressed store, hash-verified

481 }
482
483 function propagateWithWeight(type, target) {
484 var weight = infer.cx().parent.mod.docComment.weight;
485 type.type.propagate(target, weight || (type.madeUp ? WG_MADEUP : undefined));
486 }
487
488 function isFunExpr(node) { return node.type == "FunctionExpression" || node.type == "ArrowFunctionExpression" }
489

Callers 1

applyTypeFunction · 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…