Fix reset typing

This commit is contained in:
thepaperpilot 2023-05-10 00:33:45 -05:00
parent 0e1915f511
commit cb4830e06b

View file

@ -19,7 +19,7 @@ export const ResetType = Symbol("Reset");
*/ */
export interface ResetOptions { export interface ResetOptions {
/** List of things to reset. Can include objects which will be recursed over for persistent values. */ /** 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. */ /** A function that is called when the reset is performed. */
onReset?: VoidFunction; onReset?: VoidFunction;
} }