MCPcopy Create free account
hub / github.com/microsoft/SandDance / _makeAllSafe

Function _makeAllSafe

docs/app/js/sanddance-app.js:22721–22723  ·  view source on GitHub ↗
(obj, prototype, methodNames)

Source from the content-addressed store, hash-verified

22719 * componentWillUnmount in the base is called and that things in the _disposables array are disposed.
22720 */ // eslint-disable-next-line deprecation/deprecation
22721function _makeAllSafe(obj, prototype, methodNames) {
22722 for(var i = 0, len = methodNames.length; i < len; i++)_makeSafe(obj, prototype, methodNames[i]);
22723}
22724// eslint-disable-next-line deprecation/deprecation
22725function _makeSafe(obj, prototype, methodName) {
22726 /* eslint-disable @typescript-eslint/no-explicit-any */ var classMethod = obj[methodName];

Callers 1

BaseComponent1Function · 0.85

Calls 1

_makeSafeFunction · 0.85

Tested by

no test coverage detected