Sanity Library Reference Docs
    Preparing search index...

    Type Alias DecOp<Amount>

    Represents a decrement-operation that can be applied to a number

    type DecOp<Amount extends number> = {
        amount: Amount;
        type: "dec";
    }

    Type Parameters

    • Amount extends number
    Index

    Properties

    Properties

    amount: Amount
    type: "dec"