makearmy-app/node_modules/next/dist/server/lib/router-utils/decode-path-params.d.ts
2025-09-22 10:37:53 -04:00

9 lines
345 B
TypeScript

/**
* We only encode path delimiters for path segments from
* getStaticPaths so we need to attempt decoding the URL
* to match against and only escape the path delimiters
* this allows non-ascii values to be handled e.g.
* Japanese characters.
* */
declare function decodePathParams(pathname: string): string;
export { decodePathParams };