Skip to content

Commit

Permalink
fix: don't use weak map for decorator metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxuum committed Aug 31, 2024
1 parent 0bd5253 commit b947778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/shared/core/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string | typeof NO_PROP_MARKER, Map<string, unknown>>
>();
Expand Down

0 comments on commit b947778

Please sign in to comment.