Interface LocalizedRoute<T, Locales, RouteRef>

interface LocalizedRoute<
    T extends RoutePathInterface,
    Locales extends LocaleType,
    RouteRef,
> {
    getPath: (locale?: Locales) => T;
    isLocalized: () => true;
    isSegment: () => boolean;
    toJSON: () => any;
    toString: () => string;
}

Type Parameters

Hierarchy (View Summary)

Properties

getPath: (locale?: Locales) => T
isLocalized: () => true
isSegment: () => boolean
toJSON: () => any
toString: () => string