Beignet API reference
    Preparing search index...

    Type Alias CallArgs<TContract, TProvidedHeaders>

    CallArgs: HasRequiredKeys<EndpointCallArgs<TContract, TProvidedHeaders>> extends never
        ? [args?: EndpointCallArgs<TContract, TProvidedHeaders>]
        : [args: EndpointCallArgs<TContract, TProvidedHeaders>]

    Tuple type used by endpoint calls.

    The args object is optional only when the contract has no required path, query, body, or header input.

    Type Parameters