next
Version:
The React Framework
8 lines (7 loc) • 324 B
TypeScript
/**
* 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("../../server/request/params").Params;