astro
Version:
Astro is a modern site builder with web best practices, performance, and DX front-of-mind.
9 lines (8 loc) • 400 B
TypeScript
import type { GetStaticPathsItem } from '../../types/public/common.js';
import type { RouteData } from '../../types/public/internal.js';
/**
* given a route's Params object, validate parameter
* values and create a stringified key for the route
* that can be used to match request routes
*/
export declare function stringifyParams(params: GetStaticPathsItem['params'], route: RouteData): string;