Documentation / @warp-drive/core / signals/-leaked / memoized
Function: memoized()
ts
function memoized<T, K>(
target,
key,
descriptor): PropertyDescriptor;Defined in: core/src/signals/reactivity/signal.ts:137
Decorator version of creating a memoized getter
Type Parameters
T
T extends object
K
K extends string
Parameters
target
T
key
K
descriptor
PropertyDescriptor
Returns
PropertyDescriptor