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

Function getConstraintDeclarationForMappedType

test/fixtures/snapshot/typescript.js:58650–58652  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

58648 errorType);
58649 }
58650 function getConstraintDeclarationForMappedType(type) {
58651 return ts.getEffectiveConstraintOfTypeParameter(type.declaration.typeParameter);
58652 }
58653 function isMappedTypeWithKeyofConstraintDeclaration(type) {
58654 var constraintDeclaration = getConstraintDeclarationForMappedType(type); // TODO: GH#18217
58655 return constraintDeclaration.kind === 193 /* SyntaxKind.TypeOperator */ &&

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…