From 88f82439363354df163a6c8a93aa886a8dbfeea6 Mon Sep 17 00:00:00 2001 From: alin Date: Thu, 25 Jan 2024 15:58:40 +0100 Subject: [PATCH] Deprecate toWeakReference() To be replaced by the new toWeakRef util method. For now, this will be kept here, until the refection sub-module is decided upon or completed... --- packages/support/src/reflections/toWeakReference.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/support/src/reflections/toWeakReference.ts b/packages/support/src/reflections/toWeakReference.ts index 603251b7..3f02bd1b 100644 --- a/packages/support/src/reflections/toWeakReference.ts +++ b/packages/support/src/reflections/toWeakReference.ts @@ -1,6 +1,8 @@ import { isset } from "@aedart/support/misc"; /** + * @deprecated Use {@link import('@aedart/support/misc').toWeakRef} instead + * * Converts target object to a weak reference, if not already * * @param {WeakRef | object | undefined} [target=undefined]