It's worth noting that this (good) example is unrelated to unsoundness, too -- it's related to built-in APIs using 'any'.
Within Google we include a "strict" d.ts in every compilation that shadows this API (and one other) with one that instead returns "unknown". We have talked about going through the whole TS API and removing all the 'any' in this manner for this reason.