decord/source/__polyfill/06xxx/module_6991.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

26 lines
683 B
JavaScript

// Module ID: 6991
// Function ID: 6992
// Dependencies: [6992]
// Module 6991
import _mod6992 from "module_6992" /* 6992 */;
export default function _inherits(value, fn) {
if (typeof fn !== "function") {
if (null !== fn) {
const _TypeError = TypeError;
const typeError = new TypeError("Super expression must either be null or a function");
throw typeError;
}
}
let prototype = fn;
if (fn) {
prototype = fn.prototype;
}
value.prototype = Object.create(prototype, { constructor: { value, writable: true, configurable: true } });
Object.defineProperty(value, "prototype", { writable: false });
if (fn) {
_mod6992(value, fn);
}
};