Skip to content
Typecorev0.10.0

RequiredOf

The context a Gate requires.

type RequiredOf<TGate> =
    TGate extends Gate<infer Ctx> ? Ctx : never;

TGate

The gate type to read the required context from.

TGate