TypeScript Tutorial: Practical Way to Work with Promises