From be2e4b5d858ac89f8b00fe8dfd9b11b12645fb1b Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Wed, 21 Dec 2016 02:11:14 -0800 Subject: [PATCH] Add missing return type --- src/utils/CircularList.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/CircularList.ts b/src/utils/CircularList.ts index 699de655..ce79e35c 100644 --- a/src/utils/CircularList.ts +++ b/src/utils/CircularList.ts @@ -98,7 +98,7 @@ export class CircularList { } // 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)];