Fix coding style for TypeScript