/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45import { ISpliceable } from '../../../common/sequence.js';67export interface ISpreadSpliceable<T> {8splice(start: number, deleteCount: number, ...elements: T[]): void;9}1011export class CombinedSpliceable<T> implements ISpliceable<T> {1213constructor(private spliceables: ISpliceable<T>[]) { }1415splice(start: number, deleteCount: number, elements: T[]): void {16this.spliceables.forEach(s => s.splice(start, deleteCount, elements));17}18}1920