type alias MergePathimport { type MergePath } from "https://dotland.deno.dev/x/hono@v4.2.8/types.ts"; Type ParametersA extends stringB extends stringdefinition: B extends "" ? MergePath<A, "/"> : A extends "" ? B : A extends "/" ? B : A extends `${infer P}/` ? B extends `/${infer Q}` ? `${P}/${Q}` : `${P}/${B}` : B extends `/${infer Q}` ? Q extends "" ? A : `${A}/${Q}` : `${A}/${B}`