Skip to content

Commit b8d417a

Browse files
committed
fix(types): revert declare module vue
This seems to be causing problems without fixing any. I'm reverting this to avoid any more trouble until we can figure out a better rollout strategy.
1 parent 9ea7052 commit b8d417a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/router/src/globalExtensions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import { RouterLink } from './RouterLink'
88
import type { Router } from './router'
99
import type { TypesConfig } from './config'
1010

11-
declare module 'vue' {
11+
// TODO: figure out why it cannot be 'vue' like said in docs
12+
declare module '@vue/runtime-core' {
1213
export interface ComponentCustomOptions {
1314
/**
1415
* Guard called when the router is navigating to the route that is rendering

0 commit comments

Comments
 (0)