Files
Huáng JùnliàngandGitHub 90d0687df9 [Babel 8]: partial-application plugin requires "version" option (#17760)
* breaking(partial-app): require version option

* chore: update yarn.lock

* test: add case for empty version

* update artifacts
2026-01-31 14:43:11 +01:00

16 lines
348 B
JavaScript

"use strict";
var _super$add, _this;
class C extends class {
static add(x, y) {
return x + y; // Algebraic addition
}
} {
static add(x, y) {
return [x, y]; // Pair construction
}
static addOne = (_this = this, _super$add = super.add, function add(_argPlaceholder) {
return _super$add.call(_this, 1, _argPlaceholder);
});
}