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

Function deprecate

test/fixtures/snapshot/typescript.js:3249–3252  ·  view source on GitHub ↗
(func, options)

Source from the content-addressed store, hash-verified

3247 };
3248 }
3249 function deprecate(func, options) {
3250 var deprecation = createDeprecation(getFunctionName(func), options);
3251 return wrapFunction(deprecation, func);
3252 }
3253 Debug.deprecate = deprecate;
3254 })(Debug = ts.Debug || (ts.Debug = {}));
3255})(ts || (ts = {}));

Callers

nothing calls this directly

Calls 3

createDeprecationFunction · 0.85
getFunctionNameFunction · 0.85
wrapFunctionFunction · 0.85

Tested by

no test coverage detected