* initial code 2 fix the issue #2025 * Mark class prototype as read-only * Update fixtures * Fix failure * Update Babel 8 fixtures * Disable in loose mode * Update fixtures Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
13 lines
363 B
JavaScript
13 lines
363 B
JavaScript
var _client = /*#__PURE__*/new WeakMap();
|
|
|
|
var Foo = /*#__PURE__*/babelHelpers.createClass(function Foo(props) {
|
|
"use strict";
|
|
|
|
babelHelpers.classCallCheck(this, Foo);
|
|
babelHelpers.classPrivateFieldInitSpec(this, _client, {
|
|
writable: true,
|
|
value: void 0
|
|
});
|
|
[x, ...babelHelpers.classPrivateFieldDestructureSet(this, _client).value] = props;
|
|
});
|