From 7849ad12355bb9fa267c8e9a5df672c434897634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Susa=C3=B1a?= Date: Fri, 14 Feb 2025 10:33:07 -0400 Subject: [PATCH] fix: correct prototype reference in Mixin --- src/deps/mixer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deps/mixer.ts b/src/deps/mixer.ts index 1397d27..4995fc9 100644 --- a/src/deps/mixer.ts +++ b/src/deps/mixer.ts @@ -53,7 +53,7 @@ export function Mixin(...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) {