Skip to content

Commit

Permalink
tweak metadata prop for static token
Browse files Browse the repository at this point in the history
  • Loading branch information
deebloo committed Jan 14, 2025
1 parent a0179b6 commit 5f7112b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/di/src/lib/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export class StaticToken<T> {
#name: string;
#factory?: ProviderFactory<T>;

[Symbol.metadata] = {};
[Symbol.metadata] = null;

get name(): string {
return this.#name;
Expand Down

0 comments on commit 5f7112b

Please sign in to comment.