Skip to content

Profectus / util/computed / processGetter

Function: processGetter() ​

processGetter<T>(obj): T extends () => infer S ? ComputedRef<S> : T

Type Parameters ​

• T

Parameters ​

obj ​

T

Returns ​

T extends () => infer S ? ComputedRef<S> : T

Defined in ​

profectus/src/util/computed.ts:7