astro
Version:
Astro is a modern site builder with web best practices, performance, and DX front-of-mind.
4 lines (3 loc) • 305 B
TypeScript
import type { AstroConfig } from '../../../types/public/config.js';
import type { RoutePart } from '../../../types/public/internal.js';
export declare function getRouteGenerator(segments: RoutePart[][], addTrailingSlash: AstroConfig['trailingSlash']): (params: Record<string, string | number>) => string;