securityos/node_modules/next/dist/export/helpers/get-params.d.ts

8 lines
340 B
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
/**
* Gets the params for the provided page.
* @param page the page that contains dynamic path parameters
* @param pathname the pathname to match
* @returns the matches that were found, throws otherwise
*/
export declare function getParams(page: string, pathname: string): import("../../shared/lib/router/utils/route-matcher").Params;