This is how you do it in TypeScript (amazing!)