I actually like cleanliness of Javascript generated from Typescript code. However I don't think that pattern matching would be more intrusive than, for example, module or class generation. Basically example from above could be compiled down to something like:
var x = getResults();
if(x instanceof Error) { ... }
else if(x instanceof Results) { ... }