Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deco/engine/block.ts>PathOf

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Latest
type alias PathOf
import { type PathOf } from "https://deno.land/x/deco@1.75.1/engine/block.ts";

Type Parameters

T
optional
Key extends string & keyof T = string & keyof T
definition: `${Key}${Key extends `${infer _}.ts${infer _}` ? "" : T[Key] extends JSONSchemaLike ? "" : T[Key] extends Record<string, unknown> ? `/${PathOf<T[Key]>}` : ""}`