How to Type Object Literal Properties in TypeScript | CodeTrail