SetupFunc
Defined in: function-types.ts:17
Setup is a function that initializes or enhances a target, returning a DisposeFunc to clean up. See createSetup, setup for setup patterns.
Type Parameters
Section titled “Type Parameters”Type Parameter |
---|
T |
SetupFunc(
target
:T
):DisposeFunc
Defined in: function-types.ts:17
Setup is a function that initializes or enhances a target, returning a DisposeFunc to clean up. See createSetup, setup for setup patterns.
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
target | T |