IGPAPI
    Preparing search index...

    Type Alias ScreenEdgeCall<D, Args, I>

    ScreenEdgeCall: [I] extends [ScreenInputOf<D>]
        ? (...args: Args) => ScreenEdgeTaken<D>
        : { "the edge input is not the target screen input": ScreenInputOf<D> }

    An edge's call, once its target is known: the call itself when the step's input I is the target's input, else a type that names the mismatch — so a wrong input is a type error where the edge is used, without the declaration depending on the target's type.

    Type Parameters

    • D
    • Args extends ReadonlyArray<unknown>
    • I