I think this issue is similar to #242
This class is being converted into the following minified output:
var yJ = class extends X {
constructor(t) {
le(this, "_array");
(0, gJ.default)(t.every(r => r instanceof X), "Reanimated: Animated.block node argument should be an array with elements of type AnimatedNode. One or more of them are not AnimatedNodes"), super({
type: "block",
block: t
}, t), this._array = t
}
toString() {
return `AnimatedBlock, id: ${this.__nodeID}`
}
__onEvaluate() {
let t;
return this._array.forEach(r => {
t = Le(r)
}), t
}
};
Executing this results in the following browser error:
ReferenceError: 'super()' must be called in derived constructor before accessing |this| or returning non-object.
I am using an esbuild target of es6. I tried other values and all had the same problem.
I think this issue is similar to #242
This class is being converted into the following minified output:
Executing this results in the following browser error:
I am using an esbuild target of
es6. I tried other values and all had the same problem.