From cb4830e06b028a4d363ff5c9696e00c7a93a81ee Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Wed, 10 May 2023 00:33:45 -0500 Subject: [PATCH] Fix reset typing --- src/features/reset.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/reset.ts b/src/features/reset.ts index b7c40ed..2811ba8 100644 --- a/src/features/reset.ts +++ b/src/features/reset.ts @@ -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[]>; + thingsToReset: Computable; /** A function that is called when the reset is performed. */ onReset?: VoidFunction; }