line endings test with TypeScript