27 lines
636 B
JavaScript
27 lines
636 B
JavaScript
// should not remove when destructuring into existing bindings
|
|
var _c = c2;
|
|
({
|
|
a2
|
|
} = _c);
|
|
b2 = babelHelpers.objectWithoutPropertiesLoose(_c, ["a2"]);
|
|
_c;
|
|
|
|
class Comp extends React.Component {
|
|
render() {
|
|
const _this$props = this.props,
|
|
{
|
|
used,
|
|
used2: usedRenamed
|
|
} = _this$props,
|
|
props = babelHelpers.objectWithoutPropertiesLoose(_this$props, ["excluded", "excluded2", "used", "used2"]);
|
|
console.log(used, usedRenamed);
|
|
return React.createElement("input", props);
|
|
}
|
|
|
|
}
|
|
|
|
function smth(_ref) {
|
|
let rest = babelHelpers.objectWithoutPropertiesLoose(_ref, ["unused"]);
|
|
call(rest);
|
|
}
|