UNPKG
@jingoz/zlight
Version:
latest (0.0.1)
0.0.1
一个轻量级的仿 zustand 的 React 状态管理库
@jingoz/zlight
/
build
/
react
/
index.d.ts
7 lines
(6 loc)
•
243 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
TCreatorFn
}
from
'../vanilla'
;
import
{
TCreator
}
from
'./types'
;
export
*
from
'./types'
;
export
*
from
'./useStore'
;
export
declare
function
createStateImpl<S>(
createFn
:
TCreatorFn
<S>):
any
;
export
declare
const
create
:
TCreator
;