0
0
Fork 0

Update type signature of the objects array before population.

This commit is contained in:
Oliver-Akins 2021-01-03 00:07:44 -07:00
parent 125b941f55
commit 6be700d37c

View file

@ -79,7 +79,7 @@ export class Game {
// Parse the object deck from CSV
let objectsCSV = readFileSync(conf.game.cards.objects, `utf-8`).replace(/\r/g, ``);
let objects: string[][] = [];
let objects: object_deck[] = [];
for (var line of objectsCSV.split(`\n`).slice(1)) {
objects.push(line.split(`,`));
};