From b947778d4598fdc7ff15ac2418fdcc35f3899c43 Mon Sep 17 00:00:00 2001 From: paradoxuum Date: Sat, 31 Aug 2024 18:49:16 +0100 Subject: [PATCH] fix: don't use weak map for decorator metadata --- packages/core/src/shared/core/metadata.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/shared/core/metadata.ts b/packages/core/src/shared/core/metadata.ts index 99d9838f..fdfca707 100644 --- a/packages/core/src/shared/core/metadata.ts +++ b/packages/core/src/shared/core/metadata.ts @@ -13,7 +13,7 @@ export enum MetadataKey { */ export namespace DecoratorMetadata { // object -> property -> key -> value - export const metadata = new WeakMap< + export const metadata = new Map< object, Map> >();