added new formatting for TypeScript code.