mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-28 19:11:42 +00:00
Fix reset typing
This commit is contained in:
parent
4b75a3f7ae
commit
2a12bbe7c0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue