warn about confusing ts casts that tsc now forbids