Fix typescript code formatting