Skip to content

Commit 65622f4

Browse files
committed
fix: fix type path
1 parent 0f0669d commit 65622f4

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
@@ -27,7 +27,7 @@
2727
"docs:build-github": "cross-env BASE_URL=/docs/hooks FLOW=github vhp-vitepress build .docs",
2828
"docs:build-gitee": "cross-env BASE_URL=/docs/hooks FLOW=gitee vhp-vitepress build .docs",
2929
"docs:serve": "vitepress serve .docs --host",
30-
"clean": "rimraf dist lib es",
30+
"clean": "rimraf dist lib es types",
3131
"build": "npm run clean && vue-tsc --noEmit && vite build",
3232
"build:types": "vue-tsc --noEmit && vite build --mode fullTypes",
3333
"type": "tsc -d"

packages/hooks/src/useFetchs/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ref, UnwrapRef, watch, watchEffect } from 'vue'
2-
import { Service, Options } from '@/useRequest/types'
2+
import { Service, Options } from '../useRequest/types'
33
import useRequest from '../useRequest'
44

55
const DEFAULT_KEY = 'VUE_HOOKS_PLUS_USE_REQUEST_DEFAULT_KEY'

0 commit comments

Comments
 (0)