UNPKG
ht_hooks
Version:
latest (0.1.1)
0.1.1
0.1.0
ht React 业务 Hooks
github.com/MengToong/ht_hooks
MengToong/ht_hooks
ht_hooks
/
lib
/
useLocalStorageState
/
index.d.ts
3 lines
(2 loc)
•
232 B
TypeScript
View Raw
1
2
3
declare
const
useLocalStorageState
: <T>
(
key
:
string
,
options
?:
import
(
"../createUseStorageState"
).
Options
<T>
) =>
readonly
[
any
,
(
value
?:
import
(
"../createUseStorageState"
).
SetState
<T>
) =>
void
];
export
default
useLocalStorageState;