Sanity Library Reference Docs
    Preparing search index...

    Type Alias IncOp<Amount>

    Represents an increment-operation that can be applied to a number

    type IncOp<Amount extends number> = {
        amount: Amount;
        type: "inc";
    }

    Type Parameters

    • Amount extends number
    Index

    Properties

    Properties

    amount: Amount
    type: "inc"