fix: type
All checks were successful
/ playwright (push) Successful in 1m39s
/ depcheck (push) Successful in 1m33s
/ build-and-deploy-to-vercel (push) Successful in 1m36s

This commit is contained in:
严浩
2024-12-18 18:42:06 +08:00
parent aa84274f0a
commit 1d2d19df65
7 changed files with 23 additions and 116 deletions

View File

@ -1,13 +0,0 @@
diff --git a/dist/vue-router.d.ts b/dist/vue-router.d.ts
index a66b6e0c627a9221a5394066666da49597891d07..19aa9d5c2d42a7221017265225d08c4467f1a69b 100644
--- a/dist/vue-router.d.ts
+++ b/dist/vue-router.d.ts
@@ -1751,7 +1751,7 @@ export { }
* NOTE: this used to be `@vue/runtime-core` but it should have been `vue` for a long time. Using both declaration at
* the same time breaks so using only one everywhere is the preferred way.
*/
-declare module 'vue' {
+declare module '@vue/runtime-core' {
export interface ComponentCustomOptions {
/**
* Guard called when the router is navigating to the route that is rendering