Why does TypeScript give the Operator '+' cannot be applied error in this case? The number types are essentially unchanged. I've got an unusual coding situation where I want to remove the built-in methods on number, like toExponential, but want math operators to still work. Is there some kind of #pragma or something to let this work?
let x: Omit<number, 'banana'> = 1;
let y: Omit<number, 'banana'> = 2;
let z = x + y;