This commit is contained in:
Daniel Imms
2017-09-03 22:39:47 -07:00
parent e77f1a9287
commit 29a7ee30f3
+1 -1
View File
@@ -5,7 +5,7 @@ export class GridCache<T> {
this.cache = [];
}
public resize(width: number, height: number) {
public resize(width: number, height: number): void {
for (let x = 0; x < width; x++) {
if (this.cache.length <= x) {
this.cache.push([]);