Fix reset typing

This commit is contained in:
thepaperpilot 2023-05-10 00:33:45 -05:00
parent 4b75a3f7ae
commit 2a12bbe7c0

View file

@ -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;
}