https://medium.com/@imranfarooq_81537/why-should-i-write-in-typescript-when-i-could-stick-to-javascript-24e7daa9cf51