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

Function _createClass

docs/app/js/sanddance-app.js:53509–53516  ·  view source on GitHub ↗
(Constructor, protoProps, staticProps)

Source from the content-addressed store, hash-verified

53507 }
53508}
53509function _createClass(Constructor, protoProps, staticProps) {
53510 if (protoProps) _defineProperties(Constructor.prototype, protoProps);
53511 if (staticProps) _defineProperties(Constructor, staticProps);
53512 Object.defineProperty(Constructor, "prototype", {
53513 writable: false
53514 });
53515 return Constructor;
53516}
53517exports.default = _createClass;
53518
53519},{"@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"74rnr":[function(require,module,exports) {

Callers

nothing calls this directly

Calls 1

_definePropertiesFunction · 0.70

Tested by

no test coverage detected