@rbxts/react-reflex
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "@rbxts/react-reflex", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "React bindings for Reflex", | ||
@@ -5,0 +5,0 @@ "main": "src/init.lua", |
@@ -41,7 +41,7 @@ import React from "@rbxts/react"; | ||
* @example | ||
* const rootProducer = useProducer(); | ||
* const rootProducer = useProducer<RootProducer>(); | ||
* | ||
* @returns The root producer passed to the `<ReflexProvider>`. | ||
*/ | ||
function useProducer<State>(): Producer<State>; | ||
function useProducer<T = Producer>(): T; | ||
@@ -48,0 +48,0 @@ /** |
Sorry, the diff of this file is not supported yet
16727