Interface: MnemonicDevToolsWeakRef<T>
Defined in: src/Mnemonic/types.ts:295
Weak-reference shape used by the devtools registry.
Matches the standard WeakRef API while keeping the public type surface
compatible with ES2020 TypeScript lib targets.
Type Parameters
| Type Parameter |
|---|
T extends object |
Properties
deref()
deref: () =>
T|undefined
Defined in: src/Mnemonic/types.ts:301
Attempts to strengthen the weak reference.
Returns
T | undefined
The live object, or undefined if it was garbage-collected.