Skip to content

Commit

Permalink
fix(types): revert declare module vue
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
posva committed May 18, 2023
1 parent 9ea7052 commit b8d417a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/router/src/globalExtensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import { RouterLink } from './RouterLink'
import type { Router } from './router'
import type { TypesConfig } from './config'

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

0 comments on commit b8d417a

Please sign in to comment.