Skip to content

Commit

Permalink
fix(types): missing NavigationFailureType and isNavigationFailure (#3777
Browse files Browse the repository at this point in the history
)
  • Loading branch information
xiaoxiangmoe committed Aug 23, 2022
1 parent 0cb86b3 commit 9d001dd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import './vue'
import { VueRouter, RouterLink, RouterView, START_LOCATION } from './router'
import { VueRouter, RouterLink, RouterView, START_LOCATION, NavigationFailureType, isNavigationFailure } from './router'

export default VueRouter
export { RouterView, RouterLink, START_LOCATION }
export { RouterView, RouterLink, START_LOCATION, NavigationFailureType, isNavigationFailure }

export type {
RouterMode,
Expand All @@ -17,7 +17,6 @@ export type {
Route,
NavigationGuard,
NavigationGuardNext,
NavigationFailureType,
NavigationFailure
} from './router'

Expand Down

0 comments on commit 9d001dd

Please sign in to comment.