google_forms/node_modules/@babel/runtime/helpers/esm/inherits.js

14 lines
460 B
JavaScript
Raw Permalink Normal View History

2024-08-09 12:04:48 +00:00
import setPrototypeOf from "./setPrototypeOf.js";
function _inherits(t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), Object.defineProperty(t, "prototype", {
writable: !1
}), e && setPrototypeOf(t, e);
}
export { _inherits as default };