the-programmers-hangout / website

🌳 TPH website
https://theprogrammershangout.com
MIT License
102 stars 67 forks source link

Consider upgrading tsconfig to es6 #216

Closed khinshankhan closed 4 years ago

khinshankhan commented 4 years ago

I noticed a lot of type errors like Property 'fill' does not exist on type 'any[]' pop up due to es5. es6+ environments should get rid of many of those kinds of errors. Is there any reason we chose to stay on es5?

veksen commented 4 years ago

i think it needs es2019 to be added to the libs in tsconfig