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

Function wrapReportedDiagnostic

test/fixtures/snapshot/typescript.js:52377–52389  ·  view source on GitHub ↗
(method)

Source from the content-addressed store, hash-verified

52375 return result;
52376 }) });
52377 function wrapReportedDiagnostic(method) {
52378 if (!method) {
52379 return method;
52380 }
52381 return (function () {
52382 var args = [];
52383 for (var _i = 0; _i < arguments.length; _i++) {
52384 args[_i] = arguments[_i];
52385 }
52386 context.reportedDiagnostic = true;
52387 return method.apply(void 0, args);
52388 });
52389 }
52390 }
52391 function checkTruncationLength(context) {
52392 if (context.truncating)

Callers 1

Calls 1

applyMethod · 0.45

Tested by

no test coverage detected