Type alias UpdateArrayContext

UpdateArrayContext: {
    type: "ADD";
    values: any[];
} | {
    indices: number[];
    type: "REMOVE";
} | {
    moves: {
        from: number;
        to: number;
    }[];
    type: "MOVE";
}

Type declaration

  • type: "ADD"
  • values: any[]

Type declaration

  • indices: number[]
  • type: "REMOVE"

Type declaration

  • moves: {
        from: number;
        to: number;
    }[]
  • type: "MOVE"