Add type safety to arrayToNewLineString
Add type safety to arrayToNewLineString

DusanSacha/FreeCodeCamp,codeman869/FreeCodeCamp,pahosler/freecodecamp,MiloATH/FreeCodeCamp,raisedadead/FreeCodeCamp,1111113j8Pussy420/https-github.com-raisedadead-freeCodeCamp,FreeCodeCamp/FreeCodeCamp,matthew-t-smith/freeCodeCamp,BhaveshSGupta/FreeCodeCamp,HKuz/FreeCodeCamp,tmashuang/FreeCodeCamp,Munsterberg/freecodecamp,FreeCodeCampQuito/FreeCodeCamp,otavioarc/freeCodeCamp,BrendanSweeny/FreeCodeCamp,systimotic/FreeCodeCamp,BerkeleyTrue/FreeCodeCamp,BrendanSweeny/FreeCodeCamp,no-stack-dub-sack/freeCodeCamp,HKuz/FreeCodeCamp,BhaveshSGupta/FreeCodeCamp,BhaveshSGupta/FreeCodeCamp,sakthik26/FreeCodeCamp,FreeCodeCamp/FreeCodeCamp,1111113j8Pussy420/https-github.com-raisedadead-freeCodeCamp,MiloATH/FreeCodeCamp,jonathanihm/freeCodeCamp,sakthik26/FreeCodeCamp,pahosler/freecodecamp,otavioarc/freeCodeCamp,tmashuang/FreeCodeCamp,TheeMattOliver/FreeCodeCamp,TheeMattOliver/FreeCodeCamp,jonathanihm/freeCodeCamp,systimotic/FreeCodeCamp,codeman869/FreeCodeCamp,BerkeleyTrue/FreeCodeCamp,DusanSacha/FreeCodeCamp,techstonia/FreeCodeCamp,techstonia/FreeCodeCamp,no-stack-dub-sack/freeCodeCamp,matthew-t-smith/freeCodeCamp,Munsterberg/freecodecamp,FreeCodeCampQuito/FreeCodeCamp,raisedadead/FreeCodeCamp