Support for catching typescript compilation errors