Skip to content

Commit

Permalink
symbol stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
deebloo committed Jan 29, 2025
1 parent e3b1fa4 commit 9b9728d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions packages/di/src/lib/injectable-el.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
(Symbol as any).metadata ??= Symbol("Symbol.metadata");

import { INJECTOR_CTX } from "./context/injector.js";
import { ContextRequestEvent } from "./context/protocol.js";
import { INJECTOR } from "./injector.js";
Expand Down
2 changes: 0 additions & 2 deletions packages/di/src/lib/lifecycle.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
(Symbol as any).metadata ??= Symbol("Symbol.metadata");

import type { Injector } from "./injector.js";
import type { InjectableMetadata, LifecycleCallback } from "./metadata.js";

Expand Down
2 changes: 2 additions & 0 deletions packages/di/src/lib/metadata.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
(Symbol as any).metadata ??= Symbol("Symbol.metadata");

import { INJECTOR, type Injector } from "./injector.js";
import type { InjectionToken } from "./provider.js";

Expand Down

0 comments on commit 9b9728d

Please sign in to comment.