Skip to content

Commit

Permalink
Deprecate toWeakReference()
Browse files Browse the repository at this point in the history
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...
  • Loading branch information
aedart committed Jan 25, 2024
1 parent 9c91c08 commit 88f8243
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/support/src/reflections/toWeakReference.ts
Original file line number Diff line number Diff line change
@@ -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> | object | undefined} [target=undefined]
Expand Down

0 comments on commit 88f8243

Please sign in to comment.