Playing with TypeScript