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

Function isThislessTypeParameter

test/fixtures/snapshot/typescript.js:57581–57584  ·  view source on GitHub ↗

A type parameter is thisless if its constraint is thisless, or if it has no constraint.

(node)

Source from the content-addressed store, hash-verified

57579 }
57580 /** A type parameter is thisless if its constraint is thisless, or if it has no constraint. */
57581 function isThislessTypeParameter(node) {
57582 var constraint = ts.getEffectiveConstraintOfTypeParameter(node);
57583 return !constraint || isThislessType(constraint);
57584 }
57585 /**
57586 * A variable-like declaration is free of this references if it has a type annotation
57587 * that is thisless, or if it has no type annotation and no initializer (and is thus of type any).

Callers

nothing calls this directly

Calls 1

isThislessTypeFunction · 0.85

Tested by

no test coverage detected