Skip to content

Commit 03abb36

Browse files
committed
ts: use-request plugin ts auto import
1 parent a4128ec commit 03abb36

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/hooks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-hooks-plus",
3-
"version": "1.1.4",
3+
"version": "1.1.5",
44
"files": [
55
"dist",
66
"lib",

packages/hooks/src/useRequest/useRequestImplement.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Options, Plugin, Result, Service } from './types'
55

66
function useRequestImplement<TData, TParams extends any[]>(
77
service: Service<TData, TParams>,
8-
options: Options<TData, TParams> = {},
8+
options: Options<TData, TParams, any> = {},
99
plugins: Plugin<TData, TParams>[] = [],
1010
) {
1111
// 读取配置

0 commit comments

Comments
 (0)