astro
Version:
Astro is a modern site builder with web best practices, performance, and DX front-of-mind.
6 lines (5 loc) • 319 B
TypeScript
import type { AstroConfig } from '../../types/public/config.js';
import type { RoutePart } from '../../types/public/internal.js';
type RouteGenerator = (data?: any) => string;
export declare function getRouteGenerator(segments: RoutePart[][], addTrailingSlash: AstroConfig['trailingSlash']): RouteGenerator;
export {};