Module: features/reset
Interfaces
Type aliases
GenericReset
Ƭ GenericReset: Reset
<ResetOptions
>
Defined in
profectus/src/features/reset.ts:37
Reset
Ƭ Reset<T
>: Replace
<T
& BaseReset
, { thingsToReset
: GetComputableType
<T
["thingsToReset"
]> }>
Type parameters
Name | Type |
---|---|
T | extends ResetOptions |
Defined in
profectus/src/features/reset.ts:30
Variables
ResetType
• Const
ResetType: typeof ResetType
Defined in
profectus/src/features/reset.ts:17
Functions
createReset
▸ createReset<T
>(optionsFunc
): Reset
<T
>
Type parameters
Name | Type |
---|---|
T | extends ResetOptions |
Parameters
Name | Type |
---|---|
optionsFunc | () => T & ThisType <Reset <T >> |
Returns
Reset
<T
>
Defined in
profectus/src/features/reset.ts:39
trackResetTime
▸ trackResetTime(layer
, reset
): PersistentRef
<Decimal
>
Parameters
Name | Type |
---|---|
layer | GenericLayer |
reset | GenericReset |