awai-react
Advanced tools
Comparing version 0.0.1-alpha-3 to 0.0.1-alpha-4
@@ -1,4 +0,4 @@ | ||
import { ReadableAsyncState, InferReadableType, WritableState, WritableAsyncState, State, AsyncState, Setter, AsyncSetter, ReadableState } from 'awai'; | ||
import { ReadableAsyncState, AsyncValue, WritableState, WritableAsyncState, State, AsyncState, Setter, AsyncSetter, ReadableState, InferReadableType } from 'awai'; | ||
declare const useAsyncStateValue: <Q, T extends ReadableAsyncState<Q>>(readable: T) => InferReadableType<T>; | ||
declare const useAsyncStateValue: <Q, T extends ReadableAsyncState<Q>>(readable: T) => AsyncValue<Q>; | ||
@@ -5,0 +5,0 @@ declare const useSetState: <Q extends WritableState<T> | WritableAsyncState<T>, T = any>(writable: Q) => Q["set"]; |
{ | ||
"name": "awai-react", | ||
"version": "0.0.1-alpha-3", | ||
"version": "0.0.1-alpha-4", | ||
"author": "Yuriy Yakym", | ||
@@ -5,0 +5,0 @@ "description": "React hooks for Awai integration", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
14630