Make sure failOnTypeErrors works, pt 2 (TS doesnt return error code)