Interface SegmentRoute<Locales, RouteRef>

interface SegmentRoute<Locales extends LocaleType, RouteRef> {
    defaultRoute: undefined | EndRoute<Locales, RouteRef>;
    getPath: (locale?: Locales) => RoutePathInterface;
    isLocalized: () => boolean;
    isSegment: () => true;
    nestedRoutes: Route<RoutePathInterface, Locales, RouteRef>[];
    toJSON: () => any;
    toString: () => string;
}

Type Parameters

Hierarchy (View Summary)

Properties

defaultRoute: undefined | EndRoute<Locales, RouteRef>
getPath: (locale?: Locales) => RoutePathInterface
isLocalized: () => boolean
isSegment: () => true
toJSON: () => any
toString: () => string