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

x/live/engine/block.ts>PathOf

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
type alias PathOf
import { type PathOf } from "https://deno.land/x/live@1.60.26/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]>}` : ""}`