From 78505514ec6162798aeda50f71a534c385fc81e6 Mon Sep 17 00:00:00 2001 From: shoonia Date: Wed, 13 Mar 2024 21:07:27 +0200 Subject: [PATCH] Update types --- src/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.d.ts b/src/index.d.ts index 459d771..fb61356 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -107,7 +107,7 @@ export namespace createStoreon { > = ( state: Readonly, data: (Events & StoreonEvents)[Event], - ) => Partial | Promise | null | void | false + ) => Partial | Promise | null | void | false | undefined export interface DispatchableEvents { '@init': never