Fix indentation and formatting of TypeScript files