rest-vir - v2.2.0
    Preparing search index...

    Type Alias ExtractPathParams<Path>

    ExtractPathParams: Path extends BaseRoutePath
        ? Path extends `${string}:${string}`
        | `${string}/*`
            ? ResolveWildcard<HasWildcardParam<Path>> & ResolveNamedParams<
                NamedPathParams<Path>,
            >
            : IsEqual<`/${string}`, Path> extends true
                ?
                    | ResolveWildcard<HasWildcardParam<Path>> & ResolveNamedParams<
                        NamedPathParams<Path>,
                    >
                    | undefined
                : undefined
        : GenericPathParams

    Converts an endpoint path into the fetch params needed for its to operate.

    Fast-paths simple paths (no : or /*) to avoid recursive template literal parsing.

    Type Parameters