diff --git a/src/index.ts b/src/index.ts index a3f985f..f70964b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,9 +1,10 @@ declare global { interface SymbolConstructor { - metadata: symbol; + readonly metadata: unique symbol; } } +// @ts-expect-error Symbol.metadata ??= Symbol('Symbol.metadata'); export {};