Skip to content

Commit

Permalink
types: fix exposed types for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Aug 1, 2023
1 parent 119a631 commit e4c0a54
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
11 changes: 8 additions & 3 deletions packages/router/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,19 @@ export type {
RouteLocationPathRaw,
RouteLocationMatched,
RouteLocationOptions,
RouteRecordRedirectOption,
// route records
_RouteRecordBase,
RouteRecordName,
RouteRecordRaw,
RouteRecordRedirectOption,
RouteRecordSingleView,
RouteRecordSingleViewWithChildren,
RouteRecordMultipleViews,
RouteRecordMultipleViewsWithChildren,
RouteRecordRedirect,
RouteMeta,
RouteComponent,
// RawRouteComponent,
RouteRecordName,
RouteRecordRaw,
NavigationGuard,
NavigationGuardNext,
NavigationGuardWithThis,
Expand Down
3 changes: 1 addition & 2 deletions packages/router/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,7 @@ export type _RouteRecordProps =

// TODO: could this be moved to matcher?
/**
* Common properties among all kind of {@link RouteRecordRaw}
* @internal
* Internal type for common properties among all kind of {@link RouteRecordRaw}.
*/
export interface _RouteRecordBase extends PathParserOptions {
/**
Expand Down

0 comments on commit e4c0a54

Please sign in to comment.