mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-01 20:46:08 +00:00
fix: correct prototype reference in Mixin
This commit is contained in:
parent
0d266b475b
commit
7849ad1235
@ -53,7 +53,7 @@ export function Mixin<T, C extends TypeClass[]>(...args: C): C[number] & T {
|
||||
for (const desc of descriptors) {
|
||||
for (const key in desc) {
|
||||
if (key === 'constructor') continue;
|
||||
if (key in mixin.prototype) continue;
|
||||
if (key in MixedClass.prototype) continue;
|
||||
const descriptor = desc[key];
|
||||
|
||||
if (descriptor.value) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user