* fix: support static private field destructure set ([C.#p] = [0]) * 🚧 * fix: add compatibility warning for older @babel/helper versions * refactor: extract common routines among classPrivateFiled helpers * More 🚧
16 lines
330 B
JavaScript
16 lines
330 B
JavaScript
var _client = babelHelpers.classPrivateFieldLooseKey("client");
|
|
|
|
var Foo = function Foo(props) {
|
|
"use strict";
|
|
|
|
babelHelpers.classCallCheck(this, Foo);
|
|
({
|
|
client: babelHelpers.classPrivateFieldLooseBase(Foo, _client)[_client]
|
|
} = props);
|
|
};
|
|
|
|
Object.defineProperty(Foo, _client, {
|
|
writable: true,
|
|
value: void 0
|
|
});
|