bpms_site/.svn/pristine/a6/a6629e489c5f5e91eb6c04a817fe44c72d762a6e.svn-base
2025-11-02 16:38:49 +03:30

10 lines
353 B
Plaintext

/**
* Performs the opposite transformation of `normalizePagePath`. Note that
* this function is not idempotent either in cases where there are multiple
* leading `/index` for the page. Examples:
* - `/index` -> `/`
* - `/index/foo` -> `/foo`
* - `/index/index` -> `/index`
*/
export declare function denormalizePagePath(page: string): string;