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

Function extendComponent

docs/app/js/sanddance-app.js:24476–24479  ·  view source on GitHub ↗
(parent, methods)

Source from the content-addressed store, hash-verified

24474 */ parcelHelpers.export(exports, "extendComponent", ()=>extendComponent);
24475var _appendFunction = require("./appendFunction");
24476function extendComponent(parent, methods) {
24477 for(var name_1 in methods)if (methods.hasOwnProperty(name_1)) // eslint-disable-next-line @typescript-eslint/no-explicit-any
24478 parent[name_1] = (0, _appendFunction.appendFunction)(parent, parent[name_1], methods[name_1]);
24479}
24480
24481},{"./appendFunction":"3LuLW","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"ivx2u":[function(require,module,exports) {
24482var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected