UNPKG
jadq-x-vue
Version:
latest (1.0.8)
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Craft AI-driven interfaces effortlessly
jadq-x-vue
/
typings
/
_util
/
hooks
/
use-state.d.ts
3 lines
(2 loc)
•
139 B
TypeScript
View Raw
1
2
3
import
type
{
Ref
}
from
'vue'
;
export
default
function
useState<T, R =
Ref
<T>>(
defaultStateValue
?: T | (
() =>
T)): [R,
(
val
: T
) =>
void
];