Fix reset typing
This commit is contained in:
parent
0e1915f511
commit
cb4830e06b
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ export const ResetType = Symbol("Reset");
|
|||
*/
|
||||
export interface ResetOptions {
|
||||
/** List of things to reset. Can include objects which will be recursed over for persistent values. */
|
||||
thingsToReset: Computable<Record<string, unknown>[]>;
|
||||
thingsToReset: Computable<unknown[]>;
|
||||
/** A function that is called when the reset is performed. */
|
||||
onReset?: VoidFunction;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue