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