UNPKG
@slan-health/taro-vueuse
Version:
latest (0.1.1)
0.1.1
0.1.0
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
taro vue版本hooks
@slan-health/taro-vueuse
/
dist
/
useRequest
/
useRequest.d.ts
5 lines
(3 loc)
•
217 B
TypeScript
View Raw
1
2
3
4
5
import
{
Options
,
QueryResult
,
Service
}
from
'./core/types'
;
declare
function
useRequest<R, P
extends
unknown
[] =
any
>(
service
:
Service
<R, P>,
options
?:
Options
<R, P>):
QueryResult
<R, P>;
export
default
useRequest;