withLifecycle
withLifecycle<
T
,E
>(target
:T
,update
:EffectFunc
<E
>):EventLifecycle
<E
> &T
Defined in: event-lifecycle.ts:68
Type Parameters
Section titled “Type Parameters”Type Parameter | Default type |
---|---|
T extends object | any |
E | any |
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
target | T |
update | EffectFunc <E > |
Returns
Section titled “Returns”EventLifecycle
<E
> & T