mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
fix: runtime 添加 d.ts
This commit is contained in:
parent
a9b3e228e2
commit
2e7552ab15
@ -31,5 +31,6 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vue-router": "^4.0.1"
|
"vue-router": "^4.0.1"
|
||||||
}
|
},
|
||||||
}
|
"typings": "./types.d.ts"
|
||||||
|
}
|
19
packages/fes-runtime/types.d.ts
vendored
Normal file
19
packages/fes-runtime/types.d.ts
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
|
||||||
|
|
||||||
|
declare module "@fesjs/fes" {
|
||||||
|
export {
|
||||||
|
useRoute,
|
||||||
|
useRouter,
|
||||||
|
onBeforeRouteUpdate,
|
||||||
|
onBeforeRouteLeave,
|
||||||
|
RouterLink,
|
||||||
|
RouterView,
|
||||||
|
useLink,
|
||||||
|
createWebHashHistory,
|
||||||
|
createWebHistory,
|
||||||
|
createMemoryHistory,
|
||||||
|
createRouter,
|
||||||
|
} from 'vue-router';
|
||||||
|
|
||||||
|
export { default as Plugin, ApplyPluginsType } from './plugin';
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user