Skip to content

Commit

Permalink
feat: export RouterLink component (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyuanzmj committed Dec 11, 2022
1 parent c213dd5 commit 53b276d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions playground/typed-router.d.ts
Expand Up @@ -119,6 +119,8 @@ declare module 'vue-router/auto' {
export function onBeforeRouteLeave(guard: NavigationGuard<RouteNamedMap>): void
export function onBeforeRouteUpdate(guard: NavigationGuard<RouteNamedMap>): void

export const RouterLink: RouterLinkTyped<RouteNamedMap>

// Experimental Data Fetching

export function defineLoader<
Expand Down
2 changes: 2 additions & 0 deletions src/codegen/generateDTS.ts
Expand Up @@ -99,6 +99,8 @@ declare module '${vueRouterModule}' {
export function onBeforeRouteLeave(guard: NavigationGuard<RouteNamedMap>): void
export function onBeforeRouteUpdate(guard: NavigationGuard<RouteNamedMap>): void
export const RouterLink: RouterLinkTyped<RouteNamedMap>
// Experimental Data Fetching
export function defineLoader<
Expand Down

0 comments on commit 53b276d

Please sign in to comment.