mirror of
https://git.proxmox.com/git/mirror_xterm.js
synced 2025-11-01 11:12:59 +00:00
Add missing return type
This commit is contained in:
parent
cc0fc953cf
commit
be2e4b5d85
@ -98,7 +98,7 @@ export class CircularList<T> {
|
||||
}
|
||||
|
||||
// TODO: Warn there's no error handling and that this is a slow operation
|
||||
public splice(start: number, deleteCount: number, ...items: T[]) {
|
||||
public splice(start: number, deleteCount: number, ...items: T[]): void {
|
||||
if (deleteCount) {
|
||||
for (let i = start; i < this._length - deleteCount; i++) {
|
||||
this._array[this._getCyclicIndex(i)] = this._array[this._getCyclicIndex(i + deleteCount)];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user