From e9018179ca21670e81f1e0dd07e4570fa8cad9da Mon Sep 17 00:00:00 2001 From: Richard Date: Tue, 27 Jun 2023 12:57:01 -0700 Subject: [PATCH] fix(types): change default State generic to be any --- src/types.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.lua b/src/types.lua index a4053ac..a3f42eb 100644 --- a/src/types.lua +++ b/src/types.lua @@ -3,7 +3,7 @@ be used to modify the state. The state is immmutable, so dispatchers return a new state object. ]=] -export type Producer State }> = Dispatchers & { +export type Producer State }> = Dispatchers & { --[=[ Returns the current state of the producer. Receives an optional selector function that can be used to select a subset of the state.