Type Alias AddDataStorageOperation

AddDataStorageOperation: {
    operation: "add";
    value: number | JSONSerializable[];
}

Adds value to the current value of the key, if both the current value and value are arrays then value will be appended to the current value.

Type declaration

  • Readonlyoperation: "add"
  • Readonlyvalue: number | JSONSerializable[]

    A value for the operation to apply against the current data storage value.

DataStorageOperation for all possible operation subtypes.