Type Alias $Branch<P>

$Branch<P>: $Type<"branch", P, P>

🧰 type util

Create a branch type.

Type Parameters

  • P extends `$${string}`

P the property name for the branch.

type $Then = $Branch<'$then'>
type $Any = $Branch<'$any'