https://medium.com/nicasource/why-should-we-use-typescript-instead-of-vanilla-javascript-78f42a078062