Add a compiler flag to treat errors as warnings. That will be very helpful in case of migration from legacy javascript project to typescript