Skip to content

Commit

Permalink
play with typing to make turbo build happy
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonfarrell committed Nov 7, 2024
1 parent c5ccec0 commit 1d213e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ const concatenateAndAddNewlines = (stringArray: []) => {
let concatenatedString = "";

for (const item in stringArray) {
const itemAsNumber = item as number;
const itemAsNumber = Number(item);
concatenatedString += stringArray[itemAsNumber];

if (itemAsNumber < stringArray.length - 1) concatenatedString += "\n\n";
Expand Down

0 comments on commit 1d213e2

Please sign in to comment.