Interface SegmentRoute<Locales, RouteRef>

interface SegmentRoute<Locales, 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 full)

Properties

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