feat: init
This commit is contained in:
12
node_modules/unenv/dist/runtime/node/internal/util/inherits.mjs
generated
vendored
Normal file
12
node_modules/unenv/dist/runtime/node/internal/util/inherits.mjs
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
export function inherits(ctor, superCtor) {
|
||||
if (!superCtor) {
|
||||
return;
|
||||
}
|
||||
ctor.super_ = superCtor;
|
||||
ctor.prototype = Object.create(superCtor.prototype, { constructor: {
|
||||
value: ctor,
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
configurable: true
|
||||
} });
|
||||
}
|
||||
Reference in New Issue
Block a user