From ac2df8133b828b6e57ff5fb6ade151e4200b02e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Susa=C3=B1a?= Date: Sun, 29 Dec 2024 21:21:24 -0400 Subject: [PATCH] fix: return support node18 (#317) --- 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 de0a214..42d69d5 100644 --- a/src/deps/mixer.ts +++ b/src/deps/mixer.ts @@ -47,7 +47,7 @@ export function Mixin(...args: C): C[number] & T { const ignoreOverwriteToString = Object.keys(Object.getOwnPropertyDescriptors(args[0].prototype)).includes('toString'); function MixedClass(...constructorArgs: any[]) { for (const i of args) { - const descriptors = getDescriptors(i).toReversed(); + const descriptors = getDescriptors(i).reverse(); for (const j of descriptors) { // @ts-expect-error Object.assign(this, new j.constructor.value(...constructorArgs));