From e4c0a54bcf738763b49b82316287cc09299860ee Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Tue, 1 Aug 2023 20:17:02 +0200 Subject: [PATCH] types: fix exposed types for documentation --- packages/router/src/index.ts | 11 ++++++++--- packages/router/src/types/index.ts | 3 +-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/packages/router/src/index.ts b/packages/router/src/index.ts index c5de6361d..816dd2c51 100644 --- a/packages/router/src/index.ts +++ b/packages/router/src/index.ts @@ -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, diff --git a/packages/router/src/types/index.ts b/packages/router/src/types/index.ts index b2ec2a91a..346921224 100644 --- a/packages/router/src/types/index.ts +++ b/packages/router/src/types/index.ts @@ -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 { /**