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

Function checkTruncationLength

test/fixtures/snapshot/typescript.js:52391–52395  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

52389 }
52390 }
52391 function checkTruncationLength(context) {
52392 if (context.truncating)
52393 return context.truncating;
52394 return context.truncating = context.approximateLength > ((context.flags & 1 /* NodeBuilderFlags.NoTruncation */) ? ts.noTruncationMaximumTruncationLength : ts.defaultMaximumTruncationLength);
52395 }
52396 function typeToTypeNodeHelper(type, context) {
52397 if (cancellationToken && cancellationToken.throwIfCancellationRequested) {
52398 cancellationToken.throwIfCancellationRequested();

Callers 2

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