type CaseCache<
Route extends keyof SlashRegistry,
Cache extends CacheType,
Key extends Route
> = [Cache] extends [CacheFor<Route>] ? CacheFor<Key> : Cache;type CaseCache<
Route extends keyof SlashRegistry,
Cache extends CacheType,
Key extends Route
> = [Cache] extends [CacheFor<Route>] ? CacheFor<Key> : Cache;