/**
* Parent of this component if any
*/
- parent?: EXPERIMENTAL_RouteRecordRaw
+ parent?: EXPERIMENTAL_RouteRecordNormalized | null
// TODO:
/**
export interface EXPERIMENTAL_RouteRecord_Redirect
// preserve the values from the type EXPERIMENTAL_ResolverRecord_Matchable
- extends Omit<EXPERIMENTAL_RouteRecord_Base, 'name' | 'path' | 'parent'>,
+ extends Omit<EXPERIMENTAL_RouteRecord_Base, 'name' | 'path'>,
EXPERIMENTAL_ResolverRecord_Matchable {
components?: Record<string, RawRouteComponent>
redirect: RouteRecordRedirectOption // must be defined
- parent?: EXPERIMENTAL_RouteRecordNormalized | null
+ parent?: EXPERIMENTAL_RouteRecordNormalized | null // must be redifined because of ResolverRecord_Matchable
}
export interface EXPERIMENTAL_RouteRecord_Group
extends Omit<
EXPERIMENTAL_RouteRecord_Base,
// preserve the values from the type EXPERIMENTAL_ResolverRecord_Group
- 'name' | 'path' | 'query' | 'hash' | 'parent'
+ 'name' | 'path' | 'query' | 'hash'
>,
EXPERIMENTAL_ResolverRecord_Group {
components?: Record<string, RawRouteComponent>
- parent?: EXPERIMENTAL_RouteRecordNormalized | null
+ parent?: EXPERIMENTAL_RouteRecordNormalized | null // must be redifined because of ResolverRecord_Matchable
}
export interface EXPERIMENTAL_RouteRecord_Components
// preserve the values from the type EXPERIMENTAL_ResolverRecord_Matchable
- extends Omit<EXPERIMENTAL_RouteRecord_Base, 'name' | 'path' | 'parent'>,
+ extends Omit<EXPERIMENTAL_RouteRecord_Base, 'name' | 'path'>,
EXPERIMENTAL_ResolverRecord_Matchable {
components: Record<string, RawRouteComponent>
redirect?: never
- parent?: EXPERIMENTAL_RouteRecordNormalized | null
+ parent?: EXPERIMENTAL_RouteRecordNormalized | null // must be redifined because of ResolverRecord_Matchable
}
export type EXPERIMENTAL_RouteRecord_Matchable =