trying to compile TypeScript