next
Version:
The React Framework
10 lines (9 loc) • 418 B
TypeScript
/**
* Calculate all possible pagePaths for a given normalized pagePath along with
* allowed extensions. This can be used to check which one of the files exists
* and to debug inspected locations.
*
* @param normalizedPagePath Normalized page path (it will denormalize).
* @param extensions Allowed extensions.
*/
export declare function getPagePaths(normalizedPagePath: string, extensions: string[]): string[];