gradum-kit - v0.1.0
    Preparing search index...

    Type Alias ConstrainerAddCallbackProperties<Type>

    Options for registering a checker, mutator, or solver on an existing constrainer.

    type ConstrainerAddCallbackProperties<
        Type extends ConstrainerChecker
        | ConstrainerMutator
        | ConstrainerSolver,
    > = {
        name?: string;
        callback?: Type;
        constrainer?: string;
        priority?: number;
    }

    Type Parameters

    Index
    name?: string

    The name of the callback to add.

    callback?: Type

    The callback to add.

    constrainer?: string

    The constrainer to add the callback to.

    priority?: number

    The priority of the callback.